debug print users

This commit is contained in:
CutestNekoAqua 2023-02-18 17:22:43 +01:00
parent 22ce676cf9
commit d418fee933

View file

@ -317,9 +317,11 @@ export function apiAccountMastodon(router: Router): void {
ctx.body = data.data; ctx.body = data.data;
} catch (e: any) { } catch (e: any) {
console.error(e); console.error(e);
console.error(e.response.data); let data = e.response.data;
data.users = users;
console.error(data);
ctx.status = 401; ctx.status = 401;
ctx.body = e.response.data; ctx.body = data;
} }
}); });
router.get("/v1/bookmarks", async (ctx) => { router.get("/v1/bookmarks", async (ctx) => {