콘텐츠 댓글 - 수정/삭제 추가

This commit is contained in:
Yu Sung
2023-09-08 19:33:09 +09:00
parent 707b6f804c
commit b31933715d
9 changed files with 420 additions and 72 deletions

View File

@@ -76,4 +76,8 @@ final class ContentRepository {
func donation(contentId: Int, can: Int, comment: String) -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.donation(request: AudioContentDonationRequest(contentId: contentId, donationCan: can, comment: comment)))
}
func modifyComment(request: ModifyCommentRequest) -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.modifyComment(request: request))
}
}