diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/content/AudioContentController.kt b/src/main/kotlin/kr/co/vividnext/sodalive/content/AudioContentController.kt index 79ac2a2..8537755 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/content/AudioContentController.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/content/AudioContentController.kt @@ -154,8 +154,8 @@ class AudioContentController(private val service: AudioContentService) { @GetMapping("/ranking") fun getAudioContentRanking( + @RequestParam("sort-type", required = false) sortType: String = "매출", @AuthenticationPrincipal(expression = "#this == 'anonymousUser' ? null : member") member: Member?, - @RequestParam("sortType", required = false) sortType: String = "매출", pageable: Pageable ) = run { if (member == null) throw SodaException("로그인 정보를 확인해주세요.")