Skip to content

Commit

Permalink
Fix unset variable
Browse files Browse the repository at this point in the history
  • Loading branch information
eugene-davis committed Jul 10, 2022
1 parent 321119b commit 38463c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-cleanup.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def get_package_versions(package_name, package_type, org):

if org:
# https://docs.github.com/en/rest/packages#list-packages-for-an-organization=
f"https://api.github.com/user/packages/orgs/{org}/packages/{package_type}/{package_name}/versions"
package_url = f"https://api.github.com/user/packages/orgs/{org}/packages/{package_type}/{package_name}/versions"
else:
# https://docs.github.com/en/rest/reference/packages#get-all-package-versions-for-a-package-owned-by-the-authenticated-user
package_url = f"https://api.github.com/user/packages/{package_type}/{package_name}/versions"
Expand Down

0 comments on commit 38463c0

Please sign in to comment.