Skip to content

Commit

Permalink
[core] GraphQL: Fix a problem where the no endpoints error message wa…
Browse files Browse the repository at this point in the history
…s shown regardless of results
  • Loading branch information
saasen committed Feb 27, 2020
1 parent 37771b1 commit 21641c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@sanity/core/src/actions/graphql/listApisAction.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ module.exports = async function listApisAction(args, context) {
output.print(` ${chalk.bold('Generation:')} ${endpoint.generation}`)
output.print(` ${chalk.bold('Playground:')} ${endpoint.playgroundEnabled}\n`)
})
} else {
output.print("This project doesn't have any GraphQL endpoints deployed.")
}

output.print("This project doesn't have any GraphQL endpoints deployed.")
}

0 comments on commit 21641c4

Please sign in to comment.