Skip to content

Commit

Permalink
Minor fixes on server folder- controller- auth.js
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkiriungi committed Jan 16, 2024
1 parent 61bbc2a commit 5b77d9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/controllers/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const register = async (req, res) => {
try {
const {
firstName,
lastname,
lastName,
email,
password,
picturePath,
Expand All @@ -21,7 +21,7 @@ export const register = async (req, res) => {

const newUser = new User({
firstName,
lastname,
lastName,
email,
password: passwordhash,
picturePath,
Expand Down

0 comments on commit 5b77d9a

Please sign in to comment.