lasthourcloud/app/Http/Livewire/ForceUpgrade.php
Andras Bacsai 3ba9f399b8 fix
2023-05-25 21:23:03 +02:00

16 lines
279 B
PHP

<?php
namespace App\Http\Livewire;
use App\Jobs\InstanceAutoUpdateJob;
use Livewire\Component;
class ForceUpgrade extends Component
{
public function upgrade()
{
$this->emit('updateInitiated');
dispatch(new InstanceAutoUpdateJob(force: true));
}
}