This commit is contained in:
lesion
2019-03-22 00:49:47 +01:00
parent 90ae6835a5
commit 50ea3d65b0
2 changed files with 7 additions and 6 deletions

View File

@@ -252,7 +252,7 @@ const userController = {
await user.update(req.body)
res.json(user)
} else {
res.send(400)
res.sendStatus(400)
}
},