Update GetGithubVersion.php
This commit is contained in:
parent
63692b557c
commit
43ea446b2a
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ class GetGithubVersion extends Command
|
|||
public function handle()
|
||||
{
|
||||
try{
|
||||
$latestVersion = Http::get('https://api.github.com/repos/controlpanel-gg/dashboard/tags')->json()[0]['name'];
|
||||
$latestVersion = Http::get('https://api.github.com/repos/ctrlpanel-gg/panel/tags')->json()[0]['name'];
|
||||
Storage::disk('local')->put('latestVersion', $latestVersion);
|
||||
} catch (Exception $e) {
|
||||
Storage::disk('local')->put('latestVersion', "unknown");
|
||||
|
|
Loading…
Add table
Reference in a new issue