fix(chat-room): 채팅방

- 쿼터 상태 조회, 쿼터 구매 API URL 변경
This commit is contained in:
Yu Sung
2025-09-10 12:04:01 +09:00
parent 20fa1db718
commit a2f81bd348
3 changed files with 13 additions and 13 deletions

View File

@@ -51,12 +51,12 @@ class ChatRoomRepository {
}
/** */
func getChatQuotaStatus() -> AnyPublisher<Response, MoyaError> {
return talkApi.requestPublisher(.getChatQuotaStatus)
func getChatQuotaStatus(roomId: Int) -> AnyPublisher<Response, MoyaError> {
return talkApi.requestPublisher(.getChatQuotaStatus(roomId: roomId))
}
func purchaseChatQuota() -> AnyPublisher<Response, MoyaError> {
return talkApi.requestPublisher(.purchaseChatQuota(request: ChatQuotaPurchaseRequest()))
func purchaseChatQuota(roomId: Int) -> AnyPublisher<Response, MoyaError> {
return talkApi.requestPublisher(.purchaseChatQuota(roomId: roomId, request: ChatQuotaPurchaseRequest()))
}
func resetChatRoom(roomId: Int) -> AnyPublisher<Response, MoyaError> {