Browse Source

fix comma missing

Dim Dim 6 years ago
parent
commit
cf4c7d367a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      routes/users0.js

+ 1 - 1
routes/users0.js

@@ -126,7 +126,7 @@ app.post('/login', (req, res) => {
         res.send('Missing creds');
         return;
     }
-    Repo.login(req.body.username req.body.password).
+    Repo.login(req.body.username, req.body.password).
     then((user) => res.send(user)).
     catch(() => {
         res.status(403);