Update PushGatewayRefresh command

This commit is contained in:
Daniel Supernault 2024-10-03 21:13:35 -06:00
parent b995af15f6
commit 8e208b0eb3
No known key found for this signature in database
GPG key ID: 23740873EE6F76A1

View file

@ -3,6 +3,7 @@
namespace App\Console\Commands; namespace App\Console\Commands;
use App\Services\NotificationAppGatewayService; use App\Services\NotificationAppGatewayService;
use App\Services\PushNotificationService;
use Illuminate\Console\Command; use Illuminate\Console\Command;
use function Laravel\Prompts\select; use function Laravel\Prompts\select;
@ -50,6 +51,7 @@ class PushGatewayRefresh extends Command
$recheck = NotificationAppGatewayService::forceSupportRecheck(); $recheck = NotificationAppGatewayService::forceSupportRecheck();
if ($recheck) { if ($recheck) {
$this->info('Success! Push Notifications are now active!'); $this->info('Success! Push Notifications are now active!');
PushNotificationService::warmList('like');
return; return;
} else { } else {