chore: fixing up the typescript issue and fix up changeset description
Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user