From 7ffd99497c7edd8e3885fc848301f132a2a29d0e Mon Sep 17 00:00:00 2001 From: Cleo John Date: Tue, 28 Feb 2023 17:38:48 +0100 Subject: [PATCH] fix errors --- packages/backend/src/server/api/mastodon/endpoints/search.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/server/api/mastodon/endpoints/search.ts b/packages/backend/src/server/api/mastodon/endpoints/search.ts index 456050fa0d..b610e784dd 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) => {