This commit is contained in:
cutestnekoaqua 2023-02-13 17:02:51 +01:00
parent 9dd3ad6445
commit b1ef858b49
No known key found for this signature in database
GPG Key ID: 6BF0964A5069C1E0
1 changed files with 1 additions and 1 deletions

View File

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