Skip to content

Commit

Permalink
fix: potential fix for permissions update
Browse files Browse the repository at this point in the history
  • Loading branch information
peaklabs-dev committed Jan 6, 2025
1 parent fdb5f06 commit 49f468c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/Jobs/GithubAppPermissionJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function handle()
$github_access_token = generateGithubJwt($this->github_app);
$response = Http::withHeaders([
'Authorization' => "Bearer $github_access_token",
'Accept' => 'application/vnd.github+json',
'Accept' => 'application/vnd.github.machine-man-preview+json',
])->get("{$this->github_app->api_url}/app");
$response = $response->json();
$permissions = data_get($response, 'permissions');
Expand Down
2 changes: 1 addition & 1 deletion resources/views/errors/500.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@
</a>
</div>
</div>
</div>
</div>

0 comments on commit 49f468c

Please sign in to comment.