Update packages/integration/src/github/GithubCredentialsProvider.ts
Signed-off-by: Johan Haals <johan.haals@gmail.com> Co-authored-by: Ben Lambert <3645856+benjdlambert@users.noreply.github.com>
This commit is contained in:
@@ -229,7 +229,7 @@ export class GithubCredentialsProvider {
|
||||
const owner = parsed.owner || parsed.name;
|
||||
const repo = parsed.owner ? parsed.name : undefined;
|
||||
|
||||
let type: 'app' | 'token' = 'app';
|
||||
let type: GithubCredentialType = 'app';
|
||||
let token = await this.githubAppCredentialsMux.getAppToken(owner, repo);
|
||||
if (!token) {
|
||||
type = 'token';
|
||||
|
||||
Reference in New Issue
Block a user