Skip to content

Commit

Permalink
[Feat] sopt-makers#43 - 이메일 검사를 위해 Repository 구현
Browse files Browse the repository at this point in the history
  • Loading branch information
lsj8706 committed Dec 20, 2022
1 parent c840d79 commit 2fd572a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,8 @@ extension SignUpRepository: SignUpRepositoryInterface {
public func getNicknameAvailable(nickname: String) -> AnyPublisher<Int, Error> {
return networkService.getNicknameAvailable(nickname: nickname)
}

public func getEmailAvailable(email: String) -> AnyPublisher<Int, Error> {
return networkService.getEmailAvailable(email: email)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,5 @@ import Combine

public protocol SignUpRepositoryInterface {
func getNicknameAvailable(nickname: String) -> AnyPublisher<Int, Error>
func getEmailAvailable(email: String) -> AnyPublisher<Int, Error>
}

0 comments on commit 2fd572a

Please sign in to comment.