Created
January 6, 2019 20:06
-
-
Save kirkness/cbe3adbdb5f7f5a93bb355b9f64f7d2f 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
const updateAnItem = (root, args, ctx) => { | |
return Item.update({ name: args.name }).where({ id: args.id, userId: ctx.userId }); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment