actually return value

This commit is contained in:
cutestnekoaqua 2023-02-13 20:38:11 +01:00
parent b209a9e533
commit c4683c0196

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