actually return value
This commit is contained in:
parent
45929f95f4
commit
e923172bec
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue