diff --git a/app/Http/Controllers/EventsController.php b/app/Http/Controllers/EventsController.php index 1a27fee..e337b5a 100644 --- a/app/Http/Controllers/EventsController.php +++ b/app/Http/Controllers/EventsController.php @@ -3,7 +3,7 @@ namespace App\Http\Controllers; use App\Models\Event; -use App\Models\Notification; +use Illuminate\Support\Facades\Notification; use App\Models\Task; use App\Notifications\EventDeleted; use Illuminate\Http\Request; diff --git a/app/Http/Controllers/NotificationsController.php b/app/Http/Controllers/NotificationsController.php index 23f3532..16edf2b 100644 --- a/app/Http/Controllers/NotificationsController.php +++ b/app/Http/Controllers/NotificationsController.php @@ -2,8 +2,7 @@ namespace App\Http\Controllers; -use App\Models\Notification; -use App\Models\User; +use Illuminate\Support\Facades\Notification; use Illuminate\Http\JsonResponse; use Illuminate\Http\Request; use Illuminate\Support\Facades\Log; diff --git a/app/Http/Controllers/TasksController.php b/app/Http/Controllers/TasksController.php index 0696e53..f1ac7fd 100644 --- a/app/Http/Controllers/TasksController.php +++ b/app/Http/Controllers/TasksController.php @@ -7,7 +7,7 @@ use App\Notifications\TaskDeleted; use App\Notifications\VolunteerAssignedToTask; use App\Notifications\VolunteerUnassignedFromTask; use App\Models\Event; -use App\Models\Notification; +use Illuminate\Support\Facades\Notification; use App\Models\Task; use App\Models\User; use Carbon\Carbon; diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index 5c0d147..42e39c8 100644 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -7,7 +7,7 @@ use App\Mail\CreateUserByAdminMail; use App\Mail\DeactivateAccountMail; use App\Mail\DeleteAccountMail; use App\Mail\ValidateMail; -use App\Models\Notification; +use Illuminate\Support\Facades\Notification; use App\Models\User; use App\Notifications\UserRegistered; use App\Services\GetRole;