전체 콘텐츠 리스트
- 카테고리를 지정하지 않을 때 조회되지 않는 버그 수정
This commit is contained in:
@@ -105,7 +105,7 @@ class AudioContentController(private val service: AudioContentService) {
|
||||
fun getAudioContentList(
|
||||
@RequestParam("creator-id") creatorId: Long,
|
||||
@RequestParam("sort-type", required = false) sortType: SortType = SortType.NEWEST,
|
||||
@RequestParam("category-id", required = false) categoryId: Long = 0,
|
||||
@RequestParam("category-id", required = false) categoryId: Long? = 0,
|
||||
@AuthenticationPrincipal(expression = "#this == 'anonymousUser' ? null : member") member: Member?,
|
||||
pageable: Pageable
|
||||
) = run {
|
||||
@@ -115,7 +115,7 @@ class AudioContentController(private val service: AudioContentService) {
|
||||
service.getAudioContentList(
|
||||
creatorId = creatorId,
|
||||
sortType = sortType,
|
||||
categoryId = categoryId,
|
||||
categoryId = categoryId ?: 0,
|
||||
member = member,
|
||||
offset = pageable.offset,
|
||||
limit = pageable.pageSize.toLong()
|
||||
|
Reference in New Issue
Block a user