마이페이지 추가

This commit is contained in:
Yu Sung
2023-08-10 16:14:12 +09:00
parent 80ff04f825
commit d06f4d6a36
40 changed files with 979 additions and 3 deletions

View File

@@ -28,4 +28,8 @@ final class UserRepository {
func searchUser(nickname: String) -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.searchUser(nickname: nickname))
}
func getMypage() -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.getMypage)
}
}