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.
This commit is contained in:
@@ -402,7 +402,7 @@ class GithubController extends Controller
|
|||||||
path: '/github-apps/{github_app_id}',
|
path: '/github-apps/{github_app_id}',
|
||||||
operationId: 'updateGithubApp',
|
operationId: 'updateGithubApp',
|
||||||
security: [
|
security: [
|
||||||
['api_token' => []],
|
['bearerAuth' => []],
|
||||||
],
|
],
|
||||||
tags: ['GitHub Apps'],
|
tags: ['GitHub Apps'],
|
||||||
summary: 'Update GitHub App',
|
summary: 'Update GitHub App',
|
||||||
@@ -581,7 +581,7 @@ class GithubController extends Controller
|
|||||||
path: '/github-apps/{github_app_id}',
|
path: '/github-apps/{github_app_id}',
|
||||||
operationId: 'deleteGithubApp',
|
operationId: 'deleteGithubApp',
|
||||||
security: [
|
security: [
|
||||||
['api_token' => []],
|
['bearerAuth' => []],
|
||||||
],
|
],
|
||||||
tags: ['GitHub Apps'],
|
tags: ['GitHub Apps'],
|
||||||
summary: 'Delete GitHub App',
|
summary: 'Delete GitHub App',
|
||||||
|
Reference in New Issue
Block a user