From 16ade790b35511030c8dc62c93dded1a9da18a7c Mon Sep 17 00:00:00 2001 From: DongGeon0908 Date: Tue, 3 Sep 2024 22:53:32 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=9D=B8=EC=A6=9D=20=EB=B0=8F=20?= =?UTF-8?q?=EC=9D=B8=EA=B0=80=20=EA=B4=80=EB=A6=AC=20dev=20check=20?= =?UTF-8?q?=EC=A7=84=ED=96=89=ED=95=98=EB=8F=84=EB=A1=9D=20=EB=B3=80?= =?UTF-8?q?=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/hero/alignlab/domain/auth/resource/AuthResource.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/kotlin/com/hero/alignlab/domain/auth/resource/AuthResource.kt b/src/main/kotlin/com/hero/alignlab/domain/auth/resource/AuthResource.kt index c9097be..24b807d 100644 --- a/src/main/kotlin/com/hero/alignlab/domain/auth/resource/AuthResource.kt +++ b/src/main/kotlin/com/hero/alignlab/domain/auth/resource/AuthResource.kt @@ -4,6 +4,7 @@ import com.hero.alignlab.common.extension.wrapCreated import com.hero.alignlab.common.extension.wrapOk import com.hero.alignlab.domain.auth.application.AuthFacade import com.hero.alignlab.domain.auth.model.AuthUser +import com.hero.alignlab.domain.auth.model.DevAuthUser import com.hero.alignlab.domain.auth.model.request.SignInRequest import com.hero.alignlab.domain.auth.model.request.SignUpRequest import io.swagger.v3.oas.annotations.Operation @@ -21,6 +22,7 @@ class AuthResource( @Operation(summary = "회원가입") @PostMapping("/api/v1/auth/sign-up") suspend fun signUp( + dev: DevAuthUser, @RequestBody request: SignUpRequest, ) = authFacade.signUp(request).wrapCreated() @@ -28,6 +30,7 @@ class AuthResource( @Operation(summary = "로그인") @PostMapping("/api/v1/auth/sign-in") suspend fun signUp( + dev: DevAuthUser, @RequestBody request: SignInRequest, ) = authFacade.signIn(request).wrapOk()