Pass in the id

This commit is contained in:
Lance Pioch 2022-10-20 21:43:09 -04:00
parent 35d97f153e
commit e522813b07

View file

@ -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);
}
}