From d928022882d57e775f8899d81d89da442924ee37 Mon Sep 17 00:00:00 2001 From: stae1102 Date: Sun, 3 Mar 2024 17:57:03 +0900 Subject: [PATCH] fix: add cookie option type --- src/auth/oauth.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/oauth.service.ts b/src/auth/oauth.service.ts index c953673..37c6f33 100644 --- a/src/auth/oauth.service.ts +++ b/src/auth/oauth.service.ts @@ -151,7 +151,7 @@ export class OAuthService { return CryptoJS.SHA256(email + key).toString(); } - public getCookieOption() { + public getCookieOption(): CookieOptions { return { domain: process.env.FRONTEND_DOMAIN, httpOnly: true,