File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ GraphQLModule.forRootAsync<ApolloDriverConfig>({
284
284
driver: ApolloDriver ,
285
285
imports: [ConfigModule ],
286
286
useFactory : async (configService : ConfigService ) => ({
287
- typePaths: configService .getString (' GRAPHQL_TYPE_PATHS' ),
287
+ typePaths: configService .get < string > (' GRAPHQL_TYPE_PATHS' ),
288
288
}),
289
289
inject: [ConfigService ],
290
290
}),
Original file line number Diff line number Diff line change @@ -266,7 +266,7 @@ Like other [factory providers](https://docs.nestjs.com/fundamentals/custom-provi
266
266
MulterModule .registerAsync ({
267
267
imports: [ConfigModule ],
268
268
useFactory : async (configService : ConfigService ) => ({
269
- dest: configService .getString (' MULTER_DEST' ),
269
+ dest: configService .get < string > (' MULTER_DEST' ),
270
270
}),
271
271
inject: [ConfigService ],
272
272
});
You can’t perform that action at this time.
0 commit comments