preiiter, eslint
This commit is contained in:
6
backend/dist/auth/auth.module.js
vendored
6
backend/dist/auth/auth.module.js
vendored
@@ -27,16 +27,16 @@ exports.AuthModule = AuthModule = __decorate([
|
||||
jwt_1.JwtModule.registerAsync({
|
||||
imports: [config_1.ConfigModule],
|
||||
inject: [config_1.ConfigService],
|
||||
useFactory: async (configService) => ({
|
||||
useFactory: (configService) => ({
|
||||
secret: configService.get('JWT_SECRET'),
|
||||
signOptions: {
|
||||
expiresIn: configService.get('JWT_EXPIRES_IN') || '1h',
|
||||
},
|
||||
}),
|
||||
})
|
||||
}),
|
||||
],
|
||||
providers: [auth_service_1.AuthService, jwt_stratedy_1.JwtStrategy],
|
||||
controllers: [auth_controller_1.AuthController]
|
||||
controllers: [auth_controller_1.AuthController],
|
||||
})
|
||||
], AuthModule);
|
||||
//# sourceMappingURL=auth.module.js.map
|
Reference in New Issue
Block a user