mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 12:13:48 +01:00
fix oopsie
This commit is contained in:
parent
cedf306f76
commit
a5633b9368
@ -305,7 +305,7 @@ export function apiAccountMastodon(router: Router): void {
|
||||
let users;
|
||||
try {
|
||||
// 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;
|
||||
users = ids;
|
||||
relationshopModel.id = idsRaw?.toString() || "1";
|
||||
|
Loading…
Reference in New Issue
Block a user