Skip to content

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.

fix(github): update authentication method for GitHub app operations

Andras Bacsai9ecb1ca011be
diff --git a/app/Http/Controllers/Api/GithubController.php b/app/Http/Controllers/Api/GithubController.php
index b297c0cec7..8c95a585f3 100644
--- a/app/Http/Controllers/Api/GithubController.php
+++ b/app/Http/Controllers/Api/GithubController.php
@@ -402,7 +402,7 @@ class GithubController extends Controller
path: '/github-apps/{github_app_id}',
operationId: 'updateGithubApp',
security: [
- ['api_token' => []],
+ ['bearerAuth' => []],
],
tags: ['GitHub Apps'],
summary: 'Update GitHub App',
@@ -581,7 +581,7 @@ class GithubController extends Controller
path: '/github-apps/{github_app_id}',
operationId: 'deleteGithubApp',
security: [
- ['api_token' => []],
+ ['bearerAuth' => []],
],
tags: ['GitHub Apps'],
summary: 'Delete GitHub App',