Skip to content

Commit dcfafce

Browse files
committed
modify: 상수 위치 변경 ㅎㅎ
1 parent ecd15b0 commit dcfafce

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/controllers/user.controller.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ import { fetchVelogApi } from '@/modules/velog/velog.api';
88

99
type Token10 = string & { __lengthBrand: 10 };
1010

11+
// eslint-disable-next-line @typescript-eslint/naming-convention
12+
const THREE_WEEKS_IN_MS = 21 * 24 * 60 * 60 * 1000;
13+
1114
export class UserController {
1215
constructor(private userService: UserService) { }
1316

1417
private cookieOption(): CookieOptions {
15-
// eslint-disable-next-line @typescript-eslint/naming-convention
16-
const THREE_WEEKS_IN_MS = 21 * 24 * 60 * 60 * 1000;
1718
const isProd = process.env.NODE_ENV === 'production';
1819

1920
const baseOptions: CookieOptions = {

0 commit comments

Comments
 (0)