Skip to content

Commit

Permalink
Merge pull request #120 from jacobrs/quickfix
Browse files Browse the repository at this point in the history
#119 fixed, caused crashes on production that are now fixed
  • Loading branch information
Martin Spasov committed Mar 22, 2017
2 parents 64ab947 + 835b902 commit 149025d
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server/controllers/user.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,6 @@ export function updateUser(req, res) {
return res.status(500).send(err);

}
else {
return res.json({ user: updated });
}
user.firstName = firstName;
user.lastName = lastName;
user.studentId = studentId;
Expand Down

0 comments on commit 149025d

Please sign in to comment.