Skip to content

Instantly share code, notes, and snippets.

@LazyFatArrow
Last active May 15, 2019 23:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LazyFatArrow/0254f655859ec933e469fb9e7901b444 to your computer and use it in GitHub Desktop.
Save LazyFatArrow/0254f655859ec933e469fb9e7901b444 to your computer and use it in GitHub Desktop.
import * as pollService from '../services/poll.service'
export default {
queries: {},
mutations: {
createPoll(parent, args) {
return pollService.create(args.poll).catch();
}
},
subscriptions: {},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment