We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0292d3e commit 316b2acCopy full SHA for 316b2ac
routes/index.js
@@ -34,7 +34,7 @@ router.get("/api/v1/user", async (ctx) => {
34
Authorization: `token ${access_token}`,
35
},
36
}).then((res) => res.json());
37
- if (db.find((q) => q.login === login)) {
+ if (db.find((q) => q.login === user.login)) {
38
ctx.body = {
39
...user,
40
pay: true,
0 commit comments