Skip to content

Commit

Permalink
Improvement: Unused constant schema
Browse files Browse the repository at this point in the history
  • Loading branch information
4F2E4A2E committed Jan 23, 2018
1 parent 1812567 commit fad0e6a
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 fad0e6a

Please sign in to comment.