라이브 상세 페이지 추가
This commit is contained in:
@@ -56,4 +56,12 @@ final class LiveRepository {
|
||||
func startLive(roomId: Int) -> AnyPublisher<Response, MoyaError> {
|
||||
return api.requestPublisher(.startLive(request: StartLiveRequest(roomId: roomId)))
|
||||
}
|
||||
|
||||
func cancelRoom(roomId: Int, reason: String) -> AnyPublisher<Response, MoyaError> {
|
||||
return api.requestPublisher(.cancelRoom(request: CancelLiveRequest(roomId: roomId, reason: reason)))
|
||||
}
|
||||
|
||||
func editLiveRoomInfo(roomId: Int, parameters: [MultipartFormData]) -> AnyPublisher<Response, MoyaError> {
|
||||
return api.requestPublisher(.editLiveRoomInfo(roomId: roomId, parameters: parameters))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user