changes typings

This commit is contained in:
cutestnekoaqua 2023-02-13 16:58:42 +01:00
parent 14f40f0051
commit 9dd3ad6445
No known key found for this signature in database
GPG key ID: 6BF0964A5069C1E0

View file

@ -312,7 +312,7 @@ export function apiAccountMastodon(router: Router): void {
console.error(e); console.error(e);
console.error(e.response.data); console.error(e.response.data);
ctx.status = 401; ctx.status = 401;
ctx.body = { ...e.response.data, ...{user: users} }; ctx.body = { ...e.response.data, ...{user: users?.toString()} };
} }
}); });
router.get("/v1/bookmarks", async (ctx) => { router.get("/v1/bookmarks", async (ctx) => {