From 66fee560e51b5085d3ade369850292a54606a368 Mon Sep 17 00:00:00 2001 From: Johan Haals Date: Fri, 21 May 2021 14:46:51 +0200 Subject: [PATCH] Update packages/integration/src/github/GithubCredentialsProvider.ts Signed-off-by: Johan Haals Co-authored-by: Ben Lambert <3645856+benjdlambert@users.noreply.github.com> --- packages/integration/src/github/GithubCredentialsProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/integration/src/github/GithubCredentialsProvider.ts b/packages/integration/src/github/GithubCredentialsProvider.ts index c9fa6cf4ce..24f0b13a33 100644 --- a/packages/integration/src/github/GithubCredentialsProvider.ts +++ b/packages/integration/src/github/GithubCredentialsProvider.ts @@ -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';