차단 유저 리스트 페이지 추가

This commit is contained in:
Yu Sung
2024-09-04 18:00:11 +09:00
parent 2bea2365a0
commit 7408288d85
9 changed files with 342 additions and 4 deletions

View File

@@ -77,6 +77,10 @@ final class UserRepository {
return api.requestPublisher(.creatorUnFollow(request: CreatorFollowRequest(creatorId: creatorId)))
}
func getBlockedMemberList(page: Int, size: Int) -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.getBlockedMemberList(page: page, size: size))
}
func memberBlock(userId: Int) -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.memberBlock(request: MemberBlockRequest(blockMemberId: userId)))
}