From 60ae00004b4ba7c3fd00e3b661f203e6dcad8819 Mon Sep 17 00:00:00 2001 From: quiet-honey Date: Thu, 16 Nov 2023 13:26:39 +0900 Subject: [PATCH 1/2] =?UTF-8?q?style:=20createVideoRequest=20=ED=8C=8C?= =?UTF-8?q?=EC=9D=BC=20=EC=9D=B4=EB=A6=84=20=EB=B3=80=EC=88=98=EB=AA=85=20?= =?UTF-8?q?=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BE/src/video/dto/createVideoRequest.ts | 2 +- BE/src/video/entity/video.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BE/src/video/dto/createVideoRequest.ts b/BE/src/video/dto/createVideoRequest.ts index cffd396..0f844a6 100644 --- a/BE/src/video/dto/createVideoRequest.ts +++ b/BE/src/video/dto/createVideoRequest.ts @@ -11,7 +11,7 @@ export class CreateVideoRequest { @ApiProperty(createPropertyOption('example.mp4', '비디오 파일 이름', String)) @IsString() @IsNotEmpty() - name: string; + videoName: string; @ApiProperty( createPropertyOption('https://example.com', '비디오 URL', String), diff --git a/BE/src/video/entity/video.ts b/BE/src/video/entity/video.ts index 3f00e05..511c2e2 100644 --- a/BE/src/video/entity/video.ts +++ b/BE/src/video/entity/video.ts @@ -49,7 +49,7 @@ export class Video extends DefaultEntity { return new Video( member.id, createVidoeRequest.questionId, - createVidoeRequest.name, + createVidoeRequest.videoName, createVidoeRequest.url, false, ); From 91388cdcdde55a4f907a5fd385b0a343f00046f1 Mon Sep 17 00:00:00 2001 From: quiet-honey Date: Thu, 16 Nov 2023 13:33:53 +0900 Subject: [PATCH 2/2] =?UTF-8?q?feat:=20=EB=A1=9C=EA=B7=B8=EC=9D=B8=20?= =?UTF-8?q?=EC=99=84=EB=A3=8C=20=EC=8B=9C=20=EB=A7=88=EC=9D=B4=ED=8E=98?= =?UTF-8?q?=EC=9D=B4=EC=A7=80=EB=A1=9C=20=EB=A6=AC=EB=8B=A4=EC=9D=B4?= =?UTF-8?q?=EB=A0=89=ED=8A=B8=20=EB=90=98=EB=8F=84=EB=A1=9D=20FE=20?= =?UTF-8?q?=EC=9A=94=EA=B5=AC=20=EC=82=AC=ED=95=AD=20=EB=B0=98=EC=98=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BE/src/auth/controller/auth.controller.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/BE/src/auth/controller/auth.controller.ts b/BE/src/auth/controller/auth.controller.ts index 4e0fe96..e0a7f9e 100644 --- a/BE/src/auth/controller/auth.controller.ts +++ b/BE/src/auth/controller/auth.controller.ts @@ -57,7 +57,7 @@ export class AuthController { await this.authService.login(userRequest), COOKIE_OPTIONS, ) - .send(); + .redirect('https://www.gomterview.com/mypage'); } @Delete('logout') @@ -102,4 +102,5 @@ export class AuthController { const COOKIE_OPTIONS: CookieOptions = { httpOnly: true, path: '/', + sameSite: 'lax', };