actually return value

This commit is contained in:
cutestnekoaqua 2023-02-13 20:38:11 +01:00
parent 45929f95f4
commit e923172bec
No known key found for this signature in database
GPG Key ID: 6BF0964A5069C1E0
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ export function apiAccountMastodon(router: Router): void {
const ids = typeof idsRaw === "string" ? [idsRaw] : idsRaw;
users = ids;
relationshopModel.id = idsRaw?.toString() || "1";
if (!ids) {
if (!idsRaw) {
ctx.body = [relationshopModel];
return;
}