feat(chat): Talk 탭에 스크롤 페이지네이션 추가
This commit is contained in:
@@ -13,7 +13,7 @@ import Moya
|
||||
class TalkRepository {
|
||||
private let api = MoyaProvider<TalkApi>()
|
||||
|
||||
func getTalkRooms() -> AnyPublisher<Response, MoyaError> {
|
||||
return api.requestPublisher(.getTalkRooms)
|
||||
func getTalkRooms(page: Int) -> AnyPublisher<Response, MoyaError> {
|
||||
return api.requestPublisher(.getTalkRooms(page: page))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user