Skip to content

Commit

Permalink
Added title
Browse files Browse the repository at this point in the history
  • Loading branch information
BryanField15 committed Nov 15, 2023
1 parent 9e1a1f4 commit 6e1e35e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/userController.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ exports.createUser = catchAsync(async (req, res, next) => {
});

exports.updateUser = catchAsync(async (req, res, next) => {
console.log(req);
//console.log(req);
const user = await User.findByIdAndUpdate(req.params.id, req.body, {
new: true,
runValidators: true,
Expand Down

0 comments on commit 6e1e35e

Please sign in to comment.