fix: seprate two jobs
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
use Illuminate\Console\Command;
|
||||
use App\Models\Reminder;
|
||||
use App\Jobs\SendPushJob;
|
||||
use App\Jobs\SendPushToPackageJob;
|
||||
use Carbon\Carbon;
|
||||
|
||||
class SendDueReminders extends Command
|
||||
@@ -76,7 +77,7 @@ public function handle(): int
|
||||
|
||||
if (!$fcmToken) continue;
|
||||
|
||||
SendPushJob::dispatch(
|
||||
SendPushToPackageJob::dispatch(
|
||||
user: $user,
|
||||
title: $reminder->title,
|
||||
packageName: $packageName,
|
||||
|
||||
Reference in New Issue
Block a user