debug print users
This commit is contained in:
parent
22ce676cf9
commit
d418fee933
1 changed files with 4 additions and 2 deletions
|
@ -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) => {
|
||||||
|
|
Loading…
Reference in a new issue