mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 22:46:16 +00:00
fix default key names
This commit is contained in:
@ -13,7 +13,7 @@ public function __construct()
|
||||
|
||||
public function handle(Broadcast $event): void
|
||||
{
|
||||
Cache::set('broadcast', [
|
||||
Cache::put('broadcast', [
|
||||
'type' => $event->type,
|
||||
'data' => $event->data,
|
||||
], now()->addMinutes(5));
|
||||
|
@ -2,6 +2,7 @@
|
||||
|
||||
namespace App\ServerTypes;
|
||||
|
||||
use App\Enums\ServerStatus;
|
||||
use App\Events\Broadcast;
|
||||
use App\Jobs\Installation\Initialize;
|
||||
use App\Jobs\Installation\InstallCertbot;
|
||||
@ -79,7 +80,7 @@ public function install(): void
|
||||
|
||||
$jobs[] = function () {
|
||||
$this->server->update([
|
||||
'status' => 'ready',
|
||||
'status' => ServerStatus::READY,
|
||||
'progress' => 100,
|
||||
]);
|
||||
event(
|
||||
|
Reference in New Issue
Block a user