Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia
TypeScript apiapi-clientapi-restapi-testingdeveloper-toolsgraphqlhttphttp-clientpwarestrest-apispatestingtesting-toolstoolsvuevuejswebsocket
Removed mutations for GraphQL variables
Andrew Bastin5d2ba2298820
diff --git a/store/mutations.js b/store/mutations.jsindex 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);},