actually return value
This commit is contained in:
parent
b209a9e533
commit
c4683c0196
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;
|
const ids = typeof idsRaw === "string" ? [idsRaw] : idsRaw;
|
||||||
users = ids;
|
users = ids;
|
||||||
relationshopModel.id = idsRaw?.toString() || "1";
|
relationshopModel.id = idsRaw?.toString() || "1";
|
||||||
if (!ids) {
|
if (!idsRaw) {
|
||||||
ctx.body = [relationshopModel];
|
ctx.body = [relationshopModel];
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue