690524:1054 ADR-028-228-migration #02
CI / CD Pipeline / build (push) Successful in 4m7s
CI / CD Pipeline / deploy (push) Successful in 4m42s

This commit is contained in:
2026-05-24 10:54:44 +07:00
parent 5a17f969b8
commit a63fe0fb5c
4 changed files with 820 additions and 93 deletions
+2 -2
View File
@@ -94,7 +94,7 @@ export class AuthService {
const isBot = user.username === 'migration_bot';
const accessTokenExpiresIn = isBot
? '100y'
? '10y'
: this.configService.get<string>('JWT_EXPIRATION') || '15m';
const accessToken = await this.jwtService.signAsync(payload, {
@@ -103,7 +103,7 @@ export class AuthService {
});
const refreshTokenExpiresIn = isBot
? '100y'
? '2y'
: this.configService.get<string>('JWT_REFRESH_EXPIRATION') || '7d';
const refreshToken = await this.jwtService.signAsync(payload, {