Last active
December 1, 2018 03:52
-
-
Save meshboy/42d9b25be2c781f6b6af24010afd3157 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
| const getRecipe = (root, { id }, { user }) => { | |
| throwErrorIfUserNotAuthenticated(user); | |
| return Recipe.findById(id).exec(); | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment