refactor(jobs): pull github changelogs from cdn instead of github

This commit is contained in:
Andras Bacsai
2025-09-01 16:13:55 +02:00
parent 84e692fb43
commit d2ed68e605
5 changed files with 27 additions and 10 deletions

View File

@@ -2,7 +2,7 @@
namespace App\Livewire;
use App\Jobs\PullChangelogFromGitHub;
use App\Jobs\PullChangelog;
use App\Services\ChangelogService;
use Illuminate\Support\Facades\Auth;
use Livewire\Component;
@@ -50,7 +50,7 @@ class SettingsDropdown extends Component
}
try {
PullChangelogFromGitHub::dispatch();
PullChangelog::dispatch();
$this->dispatch('success', 'Changelog fetch initiated! Check back in a few moments.');
} catch (\Throwable $e) {
$this->dispatch('error', 'Failed to fetch changelog: '.$e->getMessage());