Add ContainerStatusJob to Revived notification

This commit is contained in:
Andras Bacsai 2024-04-09 08:46:03 +02:00
parent a9cc5cc351
commit 9984aea42f

View File

@ -2,6 +2,7 @@
namespace App\Notifications\Server;
use App\Jobs\ContainerStatusJob;
use App\Models\Server;
use Illuminate\Bus\Queueable;
use App\Notifications\Channels\DiscordChannel;
@ -21,6 +22,7 @@ public function __construct(public Server $server)
if ($this->server->unreachable_notification_sent === false) {
return;
}
dispatch(new ContainerStatusJob($server));
}
public function via(object $notifiable): array