Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- async insertRecipeIngredient({ dispatch, commit }, recipeIngredient) {
- const response = await gqlClient.mutate({
- mutation: RECIPE_INGREDIENT_MUTATION,
- variables: {
- ...recipeIngredient
- }
- });
- dispatch('findAll');
- },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement