기부 랭킹 기간 선택 추가
프로필 기부 랭킹 조회와 프로필 갱신 요청에\n기간 값을 전달한다.
This commit is contained in:
@@ -51,7 +51,19 @@ final class ExplorerRepository {
|
||||
return api.requestPublisher(.writeCreatorNotice(request: PostCreatorNoticeRequest(notice: notice)))
|
||||
}
|
||||
|
||||
func getCreatorProfileDonationRanking(userId: Int, page: Int, size: Int) -> AnyPublisher<Response, MoyaError> {
|
||||
return api.requestPublisher(.getCreatorProfileDonationRanking(userId: userId, page: page, size: size))
|
||||
func getCreatorProfileDonationRanking(
|
||||
userId: Int,
|
||||
page: Int,
|
||||
size: Int,
|
||||
period: DonationRankingPeriod?
|
||||
) -> AnyPublisher<Response, MoyaError> {
|
||||
return api.requestPublisher(
|
||||
.getCreatorProfileDonationRanking(
|
||||
userId: userId,
|
||||
page: page,
|
||||
size: size,
|
||||
period: period
|
||||
)
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user