fix errors

This commit is contained in:
Cleo John 2023-02-28 17:38:48 +01:00
parent 05acb51da2
commit 7ffd99497c

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) => {