fix: potential fix for permissions update
This commit is contained in:
parent
fdb5f069fc
commit
49f468c4b7
2 changed files with 2 additions and 2 deletions
|
|
@ -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');
|
||||
|
|
|
|||
|
|
@ -19,4 +19,4 @@
|
|||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue