diff --git a/packages/backend/src/server/api/mastodon/endpoints/search.ts b/packages/backend/src/server/api/mastodon/endpoints/search.ts index 456050fa0..b610e784d 100644 --- a/packages/backend/src/server/api/mastodon/endpoints/search.ts +++ b/packages/backend/src/server/api/mastodon/endpoints/search.ts @@ -45,7 +45,7 @@ export function apiSearchMastodon(router: Router): void { } catch (e: any) { console.error(e); ctx.status = (401); - ctx.body e.response.data; + ctx.body = e.response.data; } }); router.get("/v1/trends/statuses", async (ctx) => {