fix oopsie
This commit is contained in:
parent
cedf306f76
commit
a5633b9368
1 changed files with 1 additions and 1 deletions
|
|
@ -305,7 +305,7 @@ export function apiAccountMastodon(router: Router): void {
|
||||||
let users;
|
let users;
|
||||||
try {
|
try {
|
||||||
// TODO: this should be body
|
// TODO: this should be body
|
||||||
const idsRaw = ctx.request.query ? ["id[]"] : null;
|
const idsRaw = ctx.request.query ? ctx.request.query["id[]"] : null;
|
||||||
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";
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue