test #211

Merged
klaus merged 5 commits from test into main 2024-09-11 06:00:32 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit d0a0b5ecbe - Show all commits

View File

@ -50,7 +50,7 @@ class ContentSeriesController(private val service: ContentSeriesService) {
@GetMapping("/{id}/content")
fun getSeriesContentList(
@PathVariable id: Long,
@RequestParam("sortType", required = false) sortType: SeriesSortType = SeriesSortType.NEWEST,
@RequestParam("sortType", defaultValue = "NEWEST") sortType: SeriesSortType,
@AuthenticationPrincipal(expression = "#this == 'anonymousUser' ? null : member") member: Member?,
pageable: Pageable
) = run {