20 lines
342 B
Swift
20 lines
342 B
Swift
//
|
|
// TalkRepository.swift
|
|
// SodaLive
|
|
//
|
|
// Created by klaus on 8/29/25.
|
|
//
|
|
|
|
import Foundation
|
|
import CombineMoya
|
|
import Combine
|
|
import Moya
|
|
|
|
class TalkRepository {
|
|
private let api = MoyaProvider<TalkApi>()
|
|
|
|
func getTalkRooms() -> AnyPublisher<Response, MoyaError> {
|
|
return api.requestPublisher(.getTalkRooms)
|
|
}
|
|
}
|