fix(chat-room): 채팅방
- 쿼터 상태 조회, 쿼터 구매 API URL 변경
This commit is contained in:
@@ -277,7 +277,7 @@ final class ChatRoomViewModel: ObservableObject {
|
||||
func purchaseChatQuota() {
|
||||
isLoading = true
|
||||
|
||||
repository.purchaseChatQuota()
|
||||
repository.purchaseChatQuota(roomId: roomId)
|
||||
.sink { result in
|
||||
switch result {
|
||||
case .finished:
|
||||
@@ -402,7 +402,7 @@ final class ChatRoomViewModel: ObservableObject {
|
||||
private func checkQuotaStatus() {
|
||||
isLoading = true
|
||||
|
||||
repository.getChatQuotaStatus()
|
||||
repository.getChatQuotaStatus(roomId: roomId)
|
||||
.sink { result in
|
||||
switch result {
|
||||
case .finished:
|
||||
|
||||
Reference in New Issue
Block a user