@@ -15,9 +15,9 @@ import org.springframework.web.bind.annotation.RestController
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/audio-content/theme")
|
||||
@PreAuthorize("hasRole('CREATOR')")
|
||||
class AudioContentThemeController(private val service: AudioContentThemeService) {
|
||||
@GetMapping
|
||||
@PreAuthorize("hasRole('CREATOR')")
|
||||
fun getThemes(
|
||||
@AuthenticationPrincipal(expression = "#this == 'anonymousUser' ? null : member") member: Member?
|
||||
) = run {
|
||||
|
@@ -53,6 +53,7 @@ spring:
|
||||
redis:
|
||||
host: ${REDIS_HOST}
|
||||
port: ${REDIS_PORT}
|
||||
ssl: true
|
||||
|
||||
datasource:
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
|
Reference in New Issue
Block a user