팔로잉 채널 전체 리스트 페이지 추가
This commit is contained in:
19
SodaLive/Sources/Follow/FollowCreatorRepository.swift
Normal file
19
SodaLive/Sources/Follow/FollowCreatorRepository.swift
Normal file
@@ -0,0 +1,19 @@
|
||||
//
|
||||
// FollowCreatorRepository.swift
|
||||
// SodaLive
|
||||
//
|
||||
// Created by klaus on 2023/08/19.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
import CombineMoya
|
||||
import Combine
|
||||
import Moya
|
||||
|
||||
final class FollowCreatorRepository {
|
||||
private let api = MoyaProvider<LiveRecommendApi>()
|
||||
|
||||
func getFollowedCreatorAllList(page: Int, size: Int) -> AnyPublisher<Response, MoyaError> {
|
||||
return api.requestPublisher(.getFollowedCreatorAllList(page: page, size: size))
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user