Add (news bites)
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
namespace App\Jobs\Tasks;
|
||||
|
||||
use App\Models\Post;
|
||||
use App\Notifications\PostWasPublished;
|
||||
use Exception;
|
||||
use Illuminate\Support\Facades\Notification;
|
||||
use LaravelFreelancerNL\LaravelIndexNow\Facades\IndexNow;
|
||||
use LaravelGoogleIndexing;
|
||||
use Illuminate\Support\Facades\Notification;
|
||||
use App\Notifications\PostWasPublished;
|
||||
|
||||
class PublishIndexPostTask
|
||||
{
|
||||
@@ -37,12 +37,7 @@ public static function handle(int $post_id)
|
||||
|
||||
}
|
||||
|
||||
Notification::route('facebook','default')->notify(new PostWasPublished($post));
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Notification::route('facebook', 'default')->notify(new PostWasPublished($post));
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user