라이브 방

- 차단한 유저의 채팅이 보이지 않도록 수정
This commit is contained in:
2024-09-04 22:29:55 +09:00
parent 0ebb34a2df
commit 9dfd73b090
4 changed files with 64 additions and 15 deletions

View File

@@ -152,4 +152,9 @@ interface UserApi {
@Query("size") size: Int,
@Header("Authorization") authHeader: String
): Single<ApiResponse<GetBlockedMemberListResponse>>
@GET("/member/block/id")
fun getBlockedMemberIdList(
@Header("Authorization") authHeader: String
): Single<ApiResponse<List<Long>>>
}

View File

@@ -122,4 +122,6 @@ class UserRepository(private val userApi: UserApi) {
size = size,
authHeader = token
)
fun getBlockedMemberIdList(token: String) = userApi.getBlockedMemberIdList(authHeader = token)
}