Skip to content

Commit 3b6e213

Browse files
fix: 시간 수정
1 parent eaba74e commit 3b6e213

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/backend/src/auth/token/token.service.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ import { Injectable } from '@nestjs/common';
22
import { JwtService } from '@nestjs/jwt';
33
import { Response } from 'express';
44

5-
const HOUR = 2 * 60 * 60;
6-
const THREE_MONTHS = 3 * 30 * 24 * 60 * 60;
5+
const HOUR = 60 * 60;
6+
const FIVE_MONTHS = 3 * 30 * 24 * 60 * 60;
77

88
@Injectable()
99
export class TokenService {
@@ -17,7 +17,7 @@ export class TokenService {
1717

1818
generateRefreshToken(payload: any): string {
1919
return this.jwtService.sign(payload, {
20-
expiresIn: THREE_MONTHS,
20+
expiresIn: FIVE_MONTHS,
2121
});
2222
}
2323

0 commit comments

Comments
 (0)