diff --git a/packages/backend/src/server/api/mastodon/endpoints/account.ts b/packages/backend/src/server/api/mastodon/endpoints/account.ts index ae642857a..e453ce63d 100644 --- a/packages/backend/src/server/api/mastodon/endpoints/account.ts +++ b/packages/backend/src/server/api/mastodon/endpoints/account.ts @@ -31,7 +31,9 @@ export function setupEndpointsAccount(router: Router): void { router.get("/v1/accounts/relationships", auth(true, ['read:follows']), async (ctx) => { - const ids = (normalizeUrlQuery(ctx.query, ['id[]'])['id[]'] ?? []); + const ids = normalizeUrlQuery(ctx.query, ['id[]'])['id[]'] + ?? normalizeUrlQuery(ctx.query, ['id'])['id'] + ?? []; ctx.body = await UserHelpers.getUserRelationhipToMany(ids, ctx.user.id); } );