Added mutation for working with the GQL store

This commit is contained in:
Andrew Bastin
2019-11-21 00:01:12 -05:00
parent 2c139c2a65
commit 879fc58d9c

View File

@@ -3,6 +3,10 @@ export default {
state.request[object.attribute] = object.value
},
setGQLState(state, object) {
state.gql[object.attribute] = object.value;
},
addHeaders(state, value) {
state.request.headers.push(value);
},