We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f8578e commit 1d577efCopy full SHA for 1d577ef
list_all_github_app_in_org.py
@@ -28,11 +28,9 @@ def list_github_apps_in_organization(organization: str):
28
else:
29
print(f'Listing GitHub Apps in {organization} failed')
30
31
- total_num_of_github_app_installations = response_json['total_count']
32
- print(f'Found {total_num_of_github_app_installations} GitHub App in {organization} organization')
33
-
34
# Extract the list of dictionaries
35
list_of_installations = response_json["installations"]
+ print(f'Found {len(list_of_installations)} GitHub App in {organization} organization')
36
37
# Convert list of dictionaries to JSON string
38
json_data = json.dumps(list_of_installations, indent=4)
0 commit comments