We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ecd15b0 commit dcfafceCopy full SHA for dcfafce
src/controllers/user.controller.ts
@@ -8,12 +8,13 @@ import { fetchVelogApi } from '@/modules/velog/velog.api';
8
9
type Token10 = string & { __lengthBrand: 10 };
10
11
+// eslint-disable-next-line @typescript-eslint/naming-convention
12
+const THREE_WEEKS_IN_MS = 21 * 24 * 60 * 60 * 1000;
13
+
14
export class UserController {
15
constructor(private userService: UserService) { }
16
17
private cookieOption(): CookieOptions {
- // eslint-disable-next-line @typescript-eslint/naming-convention
- const THREE_WEEKS_IN_MS = 21 * 24 * 60 * 60 * 1000;
18
const isProd = process.env.NODE_ENV === 'production';
19
20
const baseOptions: CookieOptions = {
0 commit comments