오디션 메인
- 페이지 추가
This commit is contained in:
19
SodaLive/Sources/Audition/AuditionRepository.swift
Normal file
19
SodaLive/Sources/Audition/AuditionRepository.swift
Normal file
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// AuditionRepository.swift
|
||||
// SodaLive
|
||||
//
|
||||
// Created by klaus on 1/5/25.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import CombineMoya
|
||||
import Combine
|
||||
import Moya
|
||||
|
||||
final class AuditionRepository {
|
||||
private let api = MoyaProvider<AuditionApi>()
|
||||
|
||||
func getAuditionList(page: Int, size: Int) -> AnyPublisher<Response, MoyaError> {
|
||||
return api.requestPublisher(.getAuditionList(page: page, size: size))
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user