From 5d2ba22988208926b9b11d7f7a71ac8c1ddbf07e Mon Sep 17 00:00:00 2001 From: Andrew Bastin Date: Wed, 29 Jan 2020 20:21:23 -0500 Subject: [PATCH] Removed mutations for GraphQL variables --- store/mutations.js | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/store/mutations.js b/store/mutations.js index 64d178f57..acc84471a 100644 --- a/store/mutations.js +++ b/store/mutations.js @@ -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); },