콘텐츠 예약 오픈 설정

- 스케줄러 설정 수정
- 외부에서 실행되는 endpoint 제거
This commit is contained in:
2024-12-02 10:46:48 +09:00
parent c1748001d5
commit a1ef9a4970
4 changed files with 44 additions and 22 deletions

View File

@@ -193,12 +193,6 @@ class AudioContentController(private val service: AudioContentService) {
)
}
@PostMapping("/release")
@PreAuthorize("hasRole('BOT')")
fun releaseContent() = run {
ApiResponse.ok(service.releaseContent())
}
@PostMapping("/pin-to-the-top/{id}")
@PreAuthorize("hasRole('CREATOR')")
fun pinToTheTop(