Skip to content

Commit 46b054f

Browse files
authored
Updating to reflect change in GithubOrganizationManager argument order
1 parent c780ec2 commit 46b054f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,9 +81,10 @@ ISSUE_DESCRIPTION, (str)
8181
Example:
8282
```
8383
from ghorgs.managers import GithubOrganizationManager
84-
ORGANIZATION = 'my orgnaization'
85-
manager = GithubOrganizationManager(github_oauth_token,
86-
ORGANIZATION)
84+
ORGANIZATION = 'my organization'
85+
TOKEN = os.environ.get('GITHUB_API_TOKEN')
86+
manager = GithubOrganizationManager(organizaton=ORGANIZATION,
87+
token=TOKEN)
8788
for project in manager.projects():
8889
for issue in project.issues():
8990
print(issue.simple)

0 commit comments

Comments
 (0)