1

fix rename errors

Co-authored-by: Christoph <tobi@urpost.de>
This commit is contained in:
Christoph
2020-03-19 00:20:14 +01:00
parent fdd9d44aac
commit 2192751a01
7 changed files with 18 additions and 14 deletions

View File

@ -120,7 +120,11 @@ public class ControllerService {
user = member;
}
}
assert user != null;
if (user == null) {
throw new UserNotFoundException(this.getClass().toString());
}
DeleteUserEvent deleteUserEvent = new DeleteUserEvent(groupId, user.getId());
eventService.saveEvent(deleteUserEvent);
}