커뮤니티 게시물 신고 하기 추가
This commit is contained in:
@@ -10,12 +10,13 @@ import Foundation
|
||||
struct ReportRequest: Encodable {
|
||||
let type: ReportType
|
||||
let reason: String
|
||||
let reportedMemberId: Int?
|
||||
let cheersId: Int?
|
||||
let audioContentId: Int?
|
||||
var reportedMemberId: Int? = nil
|
||||
var cheersId: Int? = nil
|
||||
var audioContentId: Int? = nil
|
||||
var communityPostId: Int? = nil
|
||||
}
|
||||
|
||||
enum ReportType: String, Codable {
|
||||
case PROFILE, USER, CHEERS, AUDIO_CONTENT
|
||||
case PROFILE, USER, CHEERS, AUDIO_CONTENT, COMMUNITY_POST
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user