lasthourcloud/app/Http/Livewire/ForceUpgrade.php
Andras Bacsai 56abe0e5a5 wip
2023-05-25 14:23:49 +02:00

16 lines
268 B
PHP

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