Skip to content

Commit

Permalink
refact(#171): 변수 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
ManHyuk authored Apr 24, 2024
1 parent c0888fd commit 2bc8d43
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ class CommentService(

@Transactional
fun addDefaultCount(goalId: Long) {
val comment = CommentCount(0, goalId)
commentCountRepository.save(comment)
commentCountRepository.save(CommentCount(0, goalId))
}

private fun createComment(goal: Goal, currentUser: User, content: String): Comment {
Expand Down

0 comments on commit 2bc8d43

Please sign in to comment.