We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c72404 commit 74bff14Copy full SHA for 74bff14
src/voyager.ts
@@ -13,8 +13,9 @@ import * as graphqlHTTP from 'express-graphql'
13
import * as opn from 'opn'
14
import { buildSchema } from 'graphql'
15
16
-exports.handler = function (context, argv) {
17
- const schema = buildSchema(context.getProjectConfig().getSchemaSDL());
+exports.handler = async function (context, argv) {
+ const config = await context.getProjectConfig()
18
+ const schema = buildSchema(config.getSchemaSDL())
19
20
const app = express()
21
0 commit comments