시리즈 상세, 채널 상세

- 19금 콘텐츠 보기 설정 적용
This commit is contained in:
Yu Sung
2025-03-19 18:42:20 +09:00
parent 7dacc2d23a
commit 7c03ec8fd8
6 changed files with 69 additions and 20 deletions

View File

@@ -22,7 +22,12 @@ final class ExplorerRepository {
}
func getCreatorProfile(id: Int) -> AnyPublisher<Response, MoyaError> {
return api.requestPublisher(.getCreatorProfile(userId: id))
return api.requestPublisher(
.getCreatorProfile(
userId: id,
isAdultContentVisible: UserDefaults.isAdultContentVisible()
)
)
}
func getFollowerList(userId: Int, page: Int, size: Int) -> AnyPublisher<Response, MoyaError> {