응원글 삭제 기능 추가
This commit is contained in:
@@ -37,8 +37,9 @@ final class ExplorerRepository {
|
||||
return api.requestPublisher(.writeCheers(parentCheersId: parentCheersId, creatorId: creatorId, content: content))
|
||||
}
|
||||
|
||||
func modifyCheers(cheersId: Int, content: String) -> AnyPublisher<Response, MoyaError> {
|
||||
return api.requestPublisher(.modifyCheers(cheersId: cheersId, content: content))
|
||||
func modifyCheers(cheersId: Int, content: String?, isActive: Bool?) -> AnyPublisher<Response, MoyaError> {
|
||||
let request = PutModifyCheersRequest(cheersId: cheersId, content: content, isActive: isActive)
|
||||
return api.requestPublisher(.modifyCheers(request: request))
|
||||
}
|
||||
|
||||
func writeCreatorNotice(notice: String) -> AnyPublisher<Response, MoyaError> {
|
||||
|
Reference in New Issue
Block a user