diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/content/comment/AudioContentCommentController.kt b/src/main/kotlin/kr/co/vividnext/sodalive/content/comment/AudioContentCommentController.kt index 6adb6cc..f603fd7 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/content/comment/AudioContentCommentController.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/content/comment/AudioContentCommentController.kt @@ -44,7 +44,7 @@ class AudioContentCommentController( userActionService.recordAction( memberId = member.id!!, actionType = ActionType.CONTENT_COMMENT, - commentId = commentId, + contentCommentId = commentId, pushTokenList = pushTokenList ) @@ -52,7 +52,7 @@ class AudioContentCommentController( memberId = member.id!!, actionType = ActionType.ORDER_CONTENT_COMMENT, contentId = request.contentId, - commentId = commentId, + contentCommentId = commentId, pushTokenList = pushTokenList ) } catch (_: Exception) { diff --git a/src/main/kotlin/kr/co/vividnext/sodalive/useraction/UserActionService.kt b/src/main/kotlin/kr/co/vividnext/sodalive/useraction/UserActionService.kt index a0e92f5..4ef7092 100644 --- a/src/main/kotlin/kr/co/vividnext/sodalive/useraction/UserActionService.kt +++ b/src/main/kotlin/kr/co/vividnext/sodalive/useraction/UserActionService.kt @@ -33,7 +33,7 @@ class UserActionService( memberId: Long, actionType: ActionType, contentId: Long? = null, - commentId: Long? = null, + contentCommentId: Long? = null, pushTokenList: List = emptyList() ) { coroutineScope.launch { @@ -43,7 +43,7 @@ class UserActionService( UserActionLog( memberId = memberId, actionType = actionType, - commentId = commentId + contentCommentId = contentCommentId ) ) repository.flush()