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

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;
}