From 03dba1a00acbbb7cf3fafe5540d05d309271f01d Mon Sep 17 00:00:00 2001 From: AreYouScared Date: Fri, 4 Oct 2019 01:14:47 -0400 Subject: [PATCH] Fixed has servers error message Fixed "Nest has active servers error" --- app/Services/Nests/NestDeletionService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Services/Nests/NestDeletionService.php b/app/Services/Nests/NestDeletionService.php index 6bdaf8de2..0f01a5e58 100644 --- a/app/Services/Nests/NestDeletionService.php +++ b/app/Services/Nests/NestDeletionService.php @@ -51,7 +51,7 @@ class NestDeletionService { $count = $this->serverRepository->findCountWhere([['nest_id', '=', $nest]]); if ($count > 0) { - throw new HasActiveServersException(trans('exceptions.service.delete_has_servers')); + throw new HasActiveServersException(trans('exceptions.nest.delete_has_servers')); } return $this->repository->delete($nest);