An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix
Andras Bacsaic25be01af688
diff --git a/app/Livewire/Source/Github/Change.php b/app/Livewire/Source/Github/Change.phpindex 51c5ae3e9b..4679274848 100644--- a/app/Livewire/Source/Github/Change.php+++ b/app/Livewire/Source/Github/Change.php@@ -158,6 +158,10 @@ class Change extends Componentpublic function getGithubAppNameUpdatePath(){+ if (str($this->github_app->organization)->isNotEmpty()) {+ return "{$this->github_app->html_url}/organizations/{$this->github_app->organization}/settings/apps/{$this->github_app->name}";+ }+return "{$this->github_app->html_url}/settings/apps/{$this->github_app->name}";}@@ -184,7 +188,7 @@ class Change extends Componentpublic function updateGithubAppName(){try {- $privateKey = PrivateKey::find($this->github_app->private_key_id);+ $privateKey = PrivateKey::ownedByCurrentTeam()->find($this->github_app->private_key_id);if (! $privateKey) {$this->dispatch('error', 'No private key found for this GitHub App.');diff --git a/database/seeders/GithubAppSeeder.php b/database/seeders/GithubAppSeeder.phpindex 2ece7a05b9..3cfb82e648 100644--- a/database/seeders/GithubAppSeeder.php+++ b/database/seeders/GithubAppSeeder.php@@ -23,6 +23,7 @@ class GithubAppSeeder extends SeederGithubApp::create(['name' => 'coolify-laravel-development-public','uuid' => '69420',+ 'organization' => 'coollabsio','api_url' => 'https://api.github.com','html_url' => 'https://github.com','is_public' => false,