콘텐츠 댓글 수정 기능 리팩토링

This commit is contained in:
Klaus 2023-09-06 16:01:14 +09:00
parent 37f2f5e40b
commit 74f7c75012
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class AudioContentCommentService(
val audioContentComment = repository.findByIdOrNull(request.commentId)
?: throw SodaException("잘못된 접근 입니다.\n확인 후 다시 시도해 주세요.")
if (audioContentComment.id!! == member.id!!) {
if (audioContentComment.member!!.id!! == member.id!!) {
if (request.comment != null) {
audioContentComment.comment = request.comment
}