use the right Notification Facades
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user