Remove default query from playground

This commit is contained in:
Barry Low committed 2018-11-12 17:07:02 -08:00
1 parent 3e8a8e2cb1
commit ffa97b4b8c
1 file changed
+1 -17
+1 -17
View File
@@ -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
}
]
}
}
})