Skip to content

Commit

Permalink
fix: 친구 해제 시 해당 변경사항을 DB에 저장토록해요
Browse files Browse the repository at this point in the history
  • Loading branch information
yaeoni committed Oct 1, 2024
1 parent 0c9197f commit 9b1a45e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class DefaultMemberRelationService(
if (relation.relation == RelationType.ACCOMPANY) {
throw DojoException.of(DojoExceptionType.ALREADY_ACCOMPANY)
}
relation.accompany()
memberRelationRepository.save(relation.accompany().toEntity())
}

override fun isFriend(
Expand Down

0 comments on commit 9b1a45e

Please sign in to comment.