Skip to content

Commit

Permalink
Merge pull request nestjs#374 from 4F2E4A2E/patch-1
Browse files Browse the repository at this point in the history
Improvement: Unused constant schema
  • Loading branch information
kamilmysliwiec authored Feb 4, 2018
2 parents 327f402 + fad0e6a commit f0c92bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/12-graphql-apollo/src/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@ export class ApplicationModule implements NestModule {
createSchema() {
const typeDefs = this.graphQLFactory.mergeTypesByPaths('./**/*.graphql');
const schema = this.graphQLFactory.createSchema({ typeDefs });
return this.graphQLFactory.createSchema({ typeDefs });
return schema;
}
}

0 comments on commit f0c92bb

Please sign in to comment.