하트 랭킹 추가

This commit is contained in:
Yu Sung
2024-11-12 00:33:28 +09:00
parent fb5d7bd209
commit b4f99af291
9 changed files with 349 additions and 2 deletions

View File

@@ -128,4 +128,8 @@ final class LiveRepository {
func getTotalHeartCount(roomId: Int) -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.getTotalHeartCount(roomId: roomId))
}
func heartStatus(roomId: Int) -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.heartStatus(roomId: roomId))
}
}