Skip to content

Commit e96abb3

Browse files
committed
auth: Fix GitHub auth after pyGitHub update
The `get_organization` method's named argument `login` was changed to `org` PyGithub/PyGithub#3187
1 parent 59d4fab commit e96abb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shared/auth/github_state.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def __init__(
3535
) -> None:
3636
self.github = github
3737
self.organization: Organization = self.github.get_organization(
38-
login=settings.GH_ORGANIZATION
38+
org=settings.GH_ORGANIZATION
3939
)
4040
self.security_team: Team = self.organization.get_team_by_slug(
4141
slug=settings.GH_SECURITY_TEAM

0 commit comments

Comments
 (0)