Compare commits

...

3 Commits

Author SHA1 Message Date
klaus d0df31674c Merge pull request 'test' (#132) from test into main
Reviewed-on: #132
2024-02-17 12:44:52 +00:00
Klaus b6cdeee548 콘텐츠 테마 API 권한 수정 2024-02-17 21:00:13 +09:00
Klaus 70255273ed redis ssl true 2024-02-17 00:24:32 +09:00
2 changed files with 2 additions and 1 deletions

View File

@ -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 {

View File

@ -53,6 +53,7 @@ spring:
redis:
host: ${REDIS_HOST}
port: ${REDIS_PORT}
ssl: true
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver