Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

Fixed broken GraphQL mock query

Liyas Thomas423eaa5462e1
diff --git a/store/state.js b/store/state.js
index cf4cb7061..dc08fea1e 100644
--- a/store/state.js
+++ b/store/state.js
@@ -23,7 +23,7 @@ export default () => ({
headers: [],
schema: "",
variablesJSONString: '{ "id": "1" }',
- query: `query GetCharacter($id: ID) {
+ query: `query GetCharacter($id: ID!) {
character(id: $id) {
id
name