chore: fixing up the typescript issue and fix up changeset description

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2021-08-02 18:03:41 +02:00
parent 3c50ff5620
commit c0984b1402
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,4 +2,4 @@
'@backstage/integration': patch
---
Fixed bug on when compared in organzation name on github
Fixed bug for comparing Organization name in `GithubCredentialsProvider`
@@ -129,7 +129,7 @@ class GithubAppManager {
private async getInstallationData(owner: string): Promise<InstallationData> {
const allInstallations = await this.getInstallations();
const installation = allInstallations.find(
inst => inst.account?.login.toLowerCase() === owner.toLowerCase(),
inst => inst.account?.login?.toLowerCase() === owner.toLowerCase(),
);
if (installation) {
return {