fix errors

This commit is contained in:
Cleo John 2023-02-28 17:38:48 +01:00
parent 83494b707d
commit 447547b911

View File

@ -45,7 +45,7 @@ export function apiSearchMastodon(router: Router): void {
} catch (e: any) { } catch (e: any) {
console.error(e); console.error(e);
ctx.status = (401); ctx.status = (401);
ctx.body e.response.data; ctx.body = e.response.data;
} }
}); });
router.get("/v1/trends/statuses", async (ctx) => { router.get("/v1/trends/statuses", async (ctx) => {