test #63

Merged
klaus merged 12 commits from test into main 2023-11-02 12:18:30 +00:00
1 changed files with 2 additions and 2 deletions
Showing only changes of commit ed3e55514a - Show all commits

View File

@ -154,7 +154,7 @@ class AudioContentController(private val service: AudioContentService) {
@GetMapping("/ranking")
fun getAudioContentRanking(
@RequestParam("sort-type", required = false) sortType: String = "매출",
@RequestParam("sort-type", required = false) sortType: String? = "매출",
@AuthenticationPrincipal(expression = "#this == 'anonymousUser' ? null : member") member: Member?,
pageable: Pageable
) = run {
@ -177,7 +177,7 @@ class AudioContentController(private val service: AudioContentService) {
endDate = endDate,
offset = pageable.offset,
limit = pageable.pageSize.toLong(),
sortType = sortType
sortType = sortType ?: "매출"
)
)
}