From 2cc3d73c556b10568664c4bdd967f315740722f8 Mon Sep 17 00:00:00 2001 From: Alan <103020761+cryingraven@users.noreply.github.com> Date: Thu, 11 Sep 2025 18:52:42 +0700 Subject: [PATCH] fix: unexpected string on graphql playground page --- src/GraphQL/ParseGraphQLServer.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/GraphQL/ParseGraphQLServer.js b/src/GraphQL/ParseGraphQLServer.js index 268d219596..5e17b62642 100644 --- a/src/GraphQL/ParseGraphQLServer.js +++ b/src/GraphQL/ParseGraphQLServer.js @@ -167,14 +167,14 @@ class ParseGraphQLServer { new window.EmbeddedSandbox({ target: "#sandbox", endpointIsEditable: false, - initialEndpoint: "${JSON.stringify(this.config.graphQLPath)}", + initialEndpoint: ${JSON.stringify(this.config.graphQLPath)}, handleRequest: (endpointUrl, options) => { return fetch(endpointUrl, { ...options, headers: { ...options.headers, - 'X-Parse-Application-Id': "${JSON.stringify(this.parseServer.config.appId)}", - 'X-Parse-Master-Key': "${JSON.stringify(this.parseServer.config.masterKey)}", + 'X-Parse-Application-Id': ${JSON.stringify(this.parseServer.config.appId)}, + 'X-Parse-Master-Key': ${JSON.stringify(this.parseServer.config.masterKey)}, }, }) },