응원글 삭제 기능 추가
This commit is contained in:
@@ -15,7 +15,7 @@ enum ExplorerApi {
|
||||
case getFollowerList(userId: Int, page: Int, size: Int)
|
||||
case getCreatorProfileCheers(userId: Int, page: Int, size: Int)
|
||||
case writeCheers(parentCheersId: Int?, creatorId: Int, content: String)
|
||||
case modifyCheers(cheersId: Int, content: String)
|
||||
case modifyCheers(request: PutModifyCheersRequest)
|
||||
case writeCreatorNotice(request: PostCreatorNoticeRequest)
|
||||
case getCreatorProfileDonationRanking(userId: Int, page: Int, size: Int)
|
||||
}
|
||||
@@ -102,8 +102,7 @@ extension ExplorerApi: TargetType {
|
||||
let request = PostWriteCheersRequest(parentId: parentCheersId, creatorId: creatorId, content: content)
|
||||
return .requestJSONEncodable(request)
|
||||
|
||||
case .modifyCheers(let cheersId, let content):
|
||||
let request = PutModifyCheersRequest(cheersId: cheersId, content: content)
|
||||
case .modifyCheers(let request):
|
||||
return .requestJSONEncodable(request)
|
||||
|
||||
case .writeCreatorNotice(let request):
|
||||
|
Reference in New Issue
Block a user