From 62541fdf355311cc0c168f1afdd7e0793f0d84de Mon Sep 17 00:00:00 2001 From: merdan Date: Fri, 8 May 2020 18:02:16 +0500 Subject: [PATCH] help desk HelpdeskTicket Comment --- app/Http/Controllers/HelpDeskController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/HelpDeskController.php b/app/Http/Controllers/HelpDeskController.php index 8bff7a7c..316c964c 100644 --- a/app/Http/Controllers/HelpDeskController.php +++ b/app/Http/Controllers/HelpDeskController.php @@ -6,6 +6,7 @@ namespace App\Http\Controllers; use App\Http\Requests\HelpTicketCommentRequest; use App\Http\Requests\HelpTicketRequest; +use App\Models\BackpackUser; use App\Models\HelpTicket; use App\Models\HelpTicketComment; use App\Models\User; @@ -73,7 +74,7 @@ class HelpDeskController extends Controller */ private function notifyAdministrators(\Illuminate\Notifications\Notification $notification){ - $administrators = User::where('is_admin',1)->get(['id','email']); + $administrators = BackpackUser::where('is_admin',1)->get(['id','email']); Notification::send($administrators, $notification); }