fix(app): fix typo in app.module.ts

This commit is contained in:
Ivan 2021-02-24 11:15:36 +08:00
parent 625ed18ae9
commit 042f8876f0

View File

@ -30,8 +30,8 @@ import configuration from './commons/config/configuration';
}),
GraphQLModule.forRootAsync({
imports: [ConfigModule],
useFactory: (cnfigService: ConfigService) => ({
debug: cnfigService.get<string>('env') !== 'prod',
useFactory: (configService: ConfigService) => ({
debug: configService.get<string>('env') !== 'prod',
playground: true,
autoSchemaFile: true,
}),