기부 랭킹 기간 선택 추가

프로필 기부 랭킹 조회와 프로필 갱신 요청에\n기간 값을 전달한다.
This commit is contained in:
Yu Sung
2026-02-03 18:38:36 +09:00
parent d686223362
commit 13f8d924c0
9 changed files with 257 additions and 87 deletions

View File

@@ -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
)
)
}
}