From ffa97b4b8cc04f52106ce384de101aac31dd6c9a Mon Sep 17 00:00:00 2001 From: Barry Low Date: Mon, 12 Nov 2018 17:07:02 -0800 Subject: [PATCH] Remove default query from playground --- server/src/index.js | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) diff --git a/server/src/index.js b/server/src/index.js index 0201a1056..6e57897c1 100644 --- a/server/src/index.js +++ b/server/src/index.js @@ -90,16 +90,6 @@ async function run () { resolvers }) - const defaultQuery = `{ - teams_Teams{ - edges{ - node{ - name - } - } - } -} -` const app = express() app.use('/graphql', @@ -168,13 +158,7 @@ async function run () { settings: { 'editor.theme': 'dark', 'editor.cursorShape': 'line' - }, - tabs: [ - { - endpoint: process.env.GRAPHQL_API_URL, - query: defaultQuery - } - ] + } } })