Skip to content

Commit

Permalink
[core] GraphQL: Remove in-line mock data when testing graphql list CL…
Browse files Browse the repository at this point in the history
…I command
  • Loading branch information
saasen committed Feb 27, 2020
1 parent 7a27fe4 commit 37771b1
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions packages/@sanity/core/src/actions/graphql/listApisAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,18 +20,6 @@ module.exports = async function listApisAction(args, context) {
}
}

endpoints = [{
dataset: 'production',
tag: 'default',
generation: 'gen1',
playgroundEnabled: false
}, {
dataset: 'staging',
tag: 'next',
generation: 'gen2',
playgroundEnabled: true
}]

if (endpoints && endpoints.length > 0) {
output.print('Here are the GraphQL endpoints deployed for this project:')
endpoints.forEach((endpoint, index) => {
Expand Down

0 comments on commit 37771b1

Please sign in to comment.