Created
September 16, 2020 14:53
-
-
Save BetterProgramming/32c761eff4f28ee23c11fe897c7eabc3 to your computer and use it in GitHub Desktop.
This file contains 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
exports.saveUser = async (req, res) => { | |
logger.info("invoking saveUser()") | |
//implementation | |
logger.debug(`saving user to the database ${userModel.save(req.body)}`) //changes application state | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment