changes typings
This commit is contained in:
parent
d6c9a142ab
commit
5cd23ca88f
1 changed files with 1 additions and 1 deletions
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in a new issue