Removed mutations for GraphQL variables
This commit is contained in:
parent
cf9fe0c02c
commit
5d2ba22988
1 changed files with 0 additions and 16 deletions
|
|
@ -23,22 +23,6 @@ export default {
|
|||
gql.headers[index].value = value;
|
||||
},
|
||||
|
||||
addGQLVariable({ gql }, object) {
|
||||
gql.variables.push(object);
|
||||
},
|
||||
|
||||
removeGQLVariable({ gql }, index) {
|
||||
gql.variables.splice(index, 1);
|
||||
},
|
||||
|
||||
setGQLVariableKey({ gql }, { index, value }) {
|
||||
gql.variables[index].key = value;
|
||||
},
|
||||
|
||||
setGQLVariableValue({ gql }, { index, value }) {
|
||||
gql.variables[index].value = value;
|
||||
},
|
||||
|
||||
addHeaders({ request }, value) {
|
||||
request.headers.push(value);
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in a new issue