Skip to content

Commit e87fdc3

Browse files
committed
changed deploy script added return statment for users.js line 127
1 parent 01bfd3e commit e87fdc3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

controllers/users.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ const updateCurrentUser = async (req, res, next) => {
124124
next(new InternalServerError("Error from updateCurrentUser"));
125125
}
126126
}
127+
return null; // Added return statement
127128
};
128129

129130
module.exports = {

0 commit comments

Comments
 (0)