diff --git a/src/main/kotlin/com/hero/alignlab/domain/group/application/GroupFacade.kt b/src/main/kotlin/com/hero/alignlab/domain/group/application/GroupFacade.kt index 638191e..a113efa 100644 --- a/src/main/kotlin/com/hero/alignlab/domain/group/application/GroupFacade.kt +++ b/src/main/kotlin/com/hero/alignlab/domain/group/application/GroupFacade.kt @@ -98,7 +98,7 @@ class GroupFacade( /** 그룹 승계 */ false -> { val succeedGroup = group.apply { - this.ownerUid = groupUser.uid + this.ownerUid = otherGroupUser.uid this.userCount -= 1 } groupService.saveSync(succeedGroup)