test #1

Merged
klaus merged 94 commits from test into main 2023-08-16 02:30:37 +00:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit b12fba992c - Show all commits

View File

@ -66,7 +66,7 @@ class AudioContentController(private val service: AudioContentService) {
}
@PutMapping("/upload-complete")
@PreAuthorize("hasRole('ADMIN')")
@PreAuthorize("hasAnyRole('ADMIN', 'BOT')")
fun uploadComplete(
@RequestBody request: UploadCompleteRequest,
@AuthenticationPrincipal(expression = "#this == 'anonymousUser' ? null : member") member: Member?