diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/creator/admin/content/CreatorAdminContentService.kt b/src/main/kotlin/kr/co/vividnext/sodalive/creator/admin/content/CreatorAdminContentService.kt index a99972c..c5091c8 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/creator/admin/content/CreatorAdminContentService.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/creator/admin/content/CreatorAdminContentService.kt @@ -131,6 +131,10 @@ class CreatorAdminContentService( audioContent.isAdult = request.isAdult } + if (request.isPointAvailable != null) { + audioContent.isPointAvailable = request.isPointAvailable + } + if (request.isCommentAvailable != null) { audioContent.isCommentAvailable = request.isCommentAvailable } diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/creator/admin/content/UpdateCreatorAdminContentRequest.kt b/src/main/kotlin/kr/co/vividnext/sodalive/creator/admin/content/UpdateCreatorAdminContentRequest.kt index 3360562..8eeda93 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/creator/admin/content/UpdateCreatorAdminContentRequest.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/creator/admin/content/UpdateCreatorAdminContentRequest.kt @@ -7,5 +7,6 @@ data class UpdateCreatorAdminContentRequest( val price: Int?, val isAdult: Boolean?, val isActive: Boolean?, + val isPointAvailable: Boolean?, val isCommentAvailable: Boolean? )