Skip to content

Commit

Permalink
fix: minor bug fix for user controller
Browse files Browse the repository at this point in the history
  • Loading branch information
iZooGooD committed Feb 11, 2024
1 parent 8dc6ae0 commit 2746687
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/controllers/User.controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const registerUser = async (req, res) => {
if (!err) {
await User.create({
firstName: req.body.firstName,
lastName: req.body.firstName,
lastName: req.body.lastName,
email: req.body.email,
password: hash,
phoneNumber: req.body.phoneNumber,
Expand Down

0 comments on commit 2746687

Please sign in to comment.