크리에이터 채널 페이지 추가
This commit is contained in:
19
SodaLive/Sources/Report/ReportRepository.swift
Normal file
19
SodaLive/Sources/Report/ReportRepository.swift
Normal file
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// ReportRepository.swift
|
||||
// SodaLive
|
||||
//
|
||||
// Created by klaus on 2023/08/11.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import CombineMoya
|
||||
import Combine
|
||||
import Moya
|
||||
|
||||
class ReportRepository {
|
||||
private let api = MoyaProvider<ReportApi>()
|
||||
|
||||
func report(request: ReportRequest) -> AnyPublisher<Response, MoyaError> {
|
||||
return api.requestPublisher(.report(request: request))
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user