From 9ecb1ca011be79bb212d8b7c7dba45139adb2d0c Mon Sep 17 00:00:00 2001 From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com> Date: Tue, 23 Sep 2025 11:37:56 +0200 Subject: [PATCH] fix(github): update authentication method for GitHub app operations - Changed security scheme from 'api_token' to 'bearerAuth' for the update and delete GitHub app endpoints. - Ensured consistent authentication handling across GitHub app operations. --- app/Http/Controllers/Api/GithubController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Api/GithubController.php b/app/Http/Controllers/Api/GithubController.php index b297c0cec..8c95a585f 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',