SHARE
TWEET

Untitled

a guest Mar 21st, 2019 64 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. async updateRecipe({ dispatch, commit }, recipe) {
  2.     const response = await gqlClient.mutate({
  3.       mutation: RECIPE_UPDATE_MUTATION,
  4.       variables: {
  5.         ...recipe,
  6.         created_by: authService.getUserId()
  7.       }
  8.     });
  9.  
  10.     window.location.assign('/recipes');
  11.   }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top