Created
April 19, 2016 20:49
-
-
Save RobAWilkinson/7373b6089134ff983aca54b04124c83e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if(req.body.email) { | |
user.email = req.body.email; | |
} | |
if(req.body.email) { | |
user.username = req.body.email; | |
} | |
if(req.body.phone) { | |
user.phone = req.body.phone; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment