Add ContainerStatusJob to Revived notification
This commit is contained in:
parent
a9cc5cc351
commit
9984aea42f
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue