Skip to content

Commit 9a870d5

Browse files
committed
Remove unused OAuth properties from GitHub configuration and add comment for IMember type in teams model
1 parent 23a6c67 commit 9a870d5

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

backend/src/github.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ class GitHub {
6565
appId: this.input.appId,
6666
privateKey: this.input.privateKey,
6767
...this.input.webhooks?.secret ? { webhooks: { secret: this.input.webhooks.secret } } : {},
68-
oauth: {
69-
clientId: null!,
70-
clientSecret: null!
71-
}
68+
// oauth: {
69+
// clientId: null!,
70+
// clientSecret: null!
71+
// }
7272
});
7373

7474
await updateDotenv({ GITHUB_APP_ID: this.input.appId })

backend/src/models/teams.model.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ class Team extends Model<NonNullable<TeamType>> {
8383
}
8484
}
8585

86+
// IMember
8687
type MemberType = {
8788
org: string;
8889
login: string;

0 commit comments

Comments
 (0)