Created
May 30, 2017 17:32
-
-
Save khlbrg/1f8300a4cb17ebb3a66a2e3e2264fb21 to your computer and use it in GitHub Desktop.
Retrieve container from Route
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
app.post('/user/create', (req, res) => { | |
const container = req.app.get('context') | |
const logger = container.get('logger') | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment