콘텐츠 탭 홈
- 단편 랭킹에 19금 콘텐츠 보기 설정 적용
This commit is contained in:
		@@ -148,7 +148,15 @@ final class ContentRepository {
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    func getContentRanking(page: Int, size: Int, sortType: String = "매출") -> AnyPublisher<Response, MoyaError> {
 | 
			
		||||
        return api.requestPublisher(.getContentRanking(page: page, size: size, sortType: sortType))
 | 
			
		||||
        return api.requestPublisher(
 | 
			
		||||
            .getContentRanking(
 | 
			
		||||
                isAdultContentVisible: UserDefaults.isAdultContentVisible(),
 | 
			
		||||
                contentType: ContentType(rawValue: UserDefaults.string(forKey: .contentPreference)) ?? ContentType.ALL,
 | 
			
		||||
                page: page,
 | 
			
		||||
                size: size,
 | 
			
		||||
                sortType: sortType
 | 
			
		||||
            )
 | 
			
		||||
        )
 | 
			
		||||
    }
 | 
			
		||||
    
 | 
			
		||||
    func pinContent(contentId: Int) -> AnyPublisher<Response, MoyaError> {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user