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');
         res.send('Missing creds');
         return;
         return;
     }
     }
-    Repo.login(req.body.username req.body.password).
+    Repo.login(req.body.username, req.body.password).
     then((user) => res.send(user)).
     then((user) => res.send(user)).
     catch(() => {
     catch(() => {
         res.status(403);
         res.status(403);