Fixed bug in error handler, finished implementing update user endpoint
This commit is contained in:
1 parent
734efb1e29
commit
78abdd7f70
3 files changed
+2
-3
No files matched your search
@@ -132,7 +132,6 @@ const userEditController = async (req, res, next) => {
|
||||
return;
|
||||
}
|
||||
|
||||
//Find and update user
|
||||
try {
|
||||
const updatedUser = await req.db.updateUser(req, res);
|
||||
res
|
||||
|
||||
Reference in new issue
Block a user