nya
This commit is contained in:
parent
adbde2ae94
commit
03f7ba241a
1 changed files with 2 additions and 1 deletions
|
@ -311,8 +311,9 @@ export function apiAccountMastodon(router: Router): void {
|
||||||
} catch (e: any) {
|
} catch (e: any) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
console.error(e.response.data);
|
console.error(e.response.data);
|
||||||
|
e.response.data.user = users ? users : 'null';
|
||||||
ctx.status = 401;
|
ctx.status = 401;
|
||||||
ctx.body = { ...e.response.data, ...{user: users ? users : 'null'} };
|
ctx.body = e.response.data;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
router.get("/v1/bookmarks", async (ctx) => {
|
router.get("/v1/bookmarks", async (ctx) => {
|
||||||
|
|
Loading…
Reference in a new issue