the case of the missing file

This commit is contained in:
James
2020-04-16 13:32:47 -04:00
parent 9271b97cf1
commit 5699bb6ecd
3 changed files with 16 additions and 1 deletions

View File

@@ -56,7 +56,7 @@ class Payload {
this.config.routes.graphQL,
createAuthHeaderFromCookie,
passport.authenticate(['jwt', 'anonymous'], { session: false }),
new GraphQL(this.config, this.collections, this.User, this.Upload, this.globals),
new GraphQL(this.config, this.collections, this.User, this.Upload, this.globals).init(),
);
this.router.get(this.config.routes.graphQLPlayground, graphQLPlayground({