fix errors

This commit is contained in:
Cleo John 2023-02-28 17:38:48 +01:00
parent 05acb51da2
commit 7ffd99497c
1 changed files with 1 additions and 1 deletions

View File

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