Advertisement
Guest User

Untitled

a guest
Mar 21st, 2019
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. const actions = {
  2. async findAll({ commit }) {
  3. commit('setLoading', true);
  4. const response = await gqlClient.query({
  5. query: RECIPES_QUERY
  6. });
  7. commit('setRecipeList', response.data.recipe);
  8. }
  9. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement