fix bugs
This commit is contained in:
@@ -22,9 +22,9 @@ import { RefreshToken } from './entities/refresh-token.entity';
|
||||
useFactory: (configService: ConfigService) => ({
|
||||
global: true,
|
||||
secret: configService.getOrThrow<string>('JWT_SECRET'),
|
||||
signOptions: {
|
||||
expiresIn: configService.getOrThrow<number>('JWT_EXPIRATION_TIME'),
|
||||
},
|
||||
// signOptions: {
|
||||
// expiresIn: configService.getOrThrow<number>('JWT_EXPIRATION_TIME'),
|
||||
// },
|
||||
}),
|
||||
inject: [ConfigService],
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user