diff --git a/app/Services/Users/UserDeletionService.php b/app/Services/Users/UserDeletionService.php index 257d6783d..d5216cf67 100644 --- a/app/Services/Users/UserDeletionService.php +++ b/app/Services/Users/UserDeletionService.php @@ -33,6 +33,6 @@ class UserDeletionService throw new DisplayException($this->translator->get('admin/user.exceptions.user_has_servers')); } - return $this->repository->delete($user); + return $this->repository->delete($user->id); } }