diff --git a/SOPT-Stamp-iOS/Projects/Data/Sources/Repository/SignUpRepository.swift b/SOPT-Stamp-iOS/Projects/Data/Sources/Repository/SignUpRepository.swift index 6724b8f6..a2616a57 100644 --- a/SOPT-Stamp-iOS/Projects/Data/Sources/Repository/SignUpRepository.swift +++ b/SOPT-Stamp-iOS/Projects/Data/Sources/Repository/SignUpRepository.swift @@ -26,4 +26,8 @@ extension SignUpRepository: SignUpRepositoryInterface { public func getNicknameAvailable(nickname: String) -> AnyPublisher { return networkService.getNicknameAvailable(nickname: nickname) } + + public func getEmailAvailable(email: String) -> AnyPublisher { + return networkService.getEmailAvailable(email: email) + } } diff --git a/SOPT-Stamp-iOS/Projects/Domain/Sources/RepositoryInterface/SignUpRepositoryInterface.swift b/SOPT-Stamp-iOS/Projects/Domain/Sources/RepositoryInterface/SignUpRepositoryInterface.swift index 5ef8b796..a58dc2d6 100644 --- a/SOPT-Stamp-iOS/Projects/Domain/Sources/RepositoryInterface/SignUpRepositoryInterface.swift +++ b/SOPT-Stamp-iOS/Projects/Domain/Sources/RepositoryInterface/SignUpRepositoryInterface.swift @@ -10,4 +10,5 @@ import Combine public protocol SignUpRepositoryInterface { func getNicknameAvailable(nickname: String) -> AnyPublisher + func getEmailAvailable(email: String) -> AnyPublisher }