actually return value
This commit is contained in:
parent
45929f95f4
commit
e923172bec
|
@ -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 New Issue