Skip to content

Commit

Permalink
fix: log stringified account info
Browse files Browse the repository at this point in the history
  • Loading branch information
rocwind committed Feb 21, 2022
1 parent 3fe6384 commit 85a09fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ accountRouter.get('/', checkToken, (req: Req, res) => {
linkedProviders: [],
name: req.users.username,
};
logger.info('check account info', { account });
logger.info('check account info', { account: JSON.stringify(account) });
res.send({ account });
});

0 comments on commit 85a09fa

Please sign in to comment.