Created
March 9, 2019 18:53
-
-
Save LazyFatArrow/bf556940b0ac331a5fd236e39e5998da 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
import * as PersonApi from '../api/person.api' | |
export default { | |
queries: {}, | |
mutations: { | |
async createPerson(parent, args) { | |
const person = await PersonApi.create(args) | |
return person | |
} | |
}, | |
subscriptions: {}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment