From b8047375637a79bcc44a88a44af39f200112f8f2 Mon Sep 17 00:00:00 2001 From: jeongjaino Date: Wed, 11 Oct 2023 12:58:25 +0900 Subject: [PATCH] =?UTF-8?q?[REFACTOR]=20#15=20:=20SignInUseCase=20?= =?UTF-8?q?=EB=A1=9C=EC=A7=81=20=EC=88=98=EC=A0=95=20-=20Result.fold=20?= =?UTF-8?q?=ED=99=9C=EC=9A=A9=EC=9C=BC=EB=A1=9C=20=EC=84=B1=EA=B3=B5=20?= =?UTF-8?q?=EC=BC=80=EC=9D=B4=EC=8A=A4=20=EB=A1=9C=EC=A7=81=20=EA=B5=AC?= =?UTF-8?q?=ED=98=84=20=EB=B0=8F=20=EC=8B=A4=ED=8C=A8=20=EC=BC=80=EC=9D=B4?= =?UTF-8?q?=EC=8A=A4=20=EC=97=90=EB=9F=AC=20=EB=8D=98=EC=A7=80=EB=8A=94=20?= =?UTF-8?q?=EB=A1=9C=EC=A7=81=20=EC=B6=94=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/wap/wapp/core/domain/usecase/auth/SignInUseCase.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/domain/src/main/java/com/wap/wapp/core/domain/usecase/auth/SignInUseCase.kt b/core/domain/src/main/java/com/wap/wapp/core/domain/usecase/auth/SignInUseCase.kt index c3ca0b45..04df5309 100644 --- a/core/domain/src/main/java/com/wap/wapp/core/domain/usecase/auth/SignInUseCase.kt +++ b/core/domain/src/main/java/com/wap/wapp/core/domain/usecase/auth/SignInUseCase.kt @@ -21,7 +21,7 @@ class SignInUseCase @Inject constructor( userRepository.getUserProfile(userId) .fold( onFailure = { exception -> - // + // 사용자를 조회할 수 없는 예외인 경우 val userNotFoundException = IllegalStateException() if (exception == userNotFoundException) { SIGN_UP