Created
October 27, 2018 00:41
-
-
Save tjstalcup/ba163aea6b207872770710a1522523f9 to your computer and use it in GitHub Desktop.
tjs' thoughts for will
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
nuggets = nuggets.map((nugget)=> { | |
Nugget.create(nugget) | |
.then((nug)=>nug._id) | |
.catch((err) => { | |
console.error(err); | |
res.send(500); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment