Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Add ContainerStatusJob to Revived notification

Andras Bacsai9984aea42f00
diff --git a/app/Notifications/Server/Revived.php b/app/Notifications/Server/Revived.php
index 3e5a994259..c670ded9a2 100644
--- a/app/Notifications/Server/Revived.php
+++ b/app/Notifications/Server/Revived.php
@@ -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 @@ class Revived extends Notification implements ShouldQueue
if ($this->server->unreachable_notification_sent === false) {
return;
}
+ dispatch(new ContainerStatusJob($server));
}
public function via(object $notifiable): array