@@ -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);