parent
28b7aaae9f
commit
10c215d9bd
|
@ -49,6 +49,7 @@ interface AudioContentApi {
|
|||
fun getAudioContentList(
|
||||
@Query("creator-id") id: Long,
|
||||
@Query("category-id") categoryId: Long,
|
||||
@Query("isAdultContentVisible") isAdultContentVisible: Boolean,
|
||||
@Query("page") page: Int,
|
||||
@Query("size") size: Int,
|
||||
@Query("sort-type") sort: AudioContentViewModel.Sort,
|
||||
|
|
|
@ -46,6 +46,7 @@ class AudioContentRepository(
|
|||
) = api.getAudioContentList(
|
||||
id = id,
|
||||
categoryId = categoryId,
|
||||
isAdultContentVisible = SharedPreferenceManager.isAdultContentVisible,
|
||||
page = page - 1,
|
||||
size = size,
|
||||
sort = sort,
|
||||
|
|
Loading…
Reference in New Issue