Skip to content

Commit 5337faa

Browse files
author
lucifer
committed
fix: log
1 parent 50cea71 commit 5337faa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

routes/users.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ router.get("/api/v1/user", async (ctx) => {
4242

4343
if (token) {
4444
const duser = decrypt(token);
45+
console.log(duser);
4546
if (db.find((q) => q.login === duser.login)) return duser;
4647
}
4748
const code = ctx.query.code;

0 commit comments

Comments
 (0)