Added mutation for working with the GQL store
This commit is contained in:
parent
2c139c2a65
commit
879fc58d9c
1 changed files with 4 additions and 0 deletions
|
|
@ -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);
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue