From 397eb13536784e85f6b99eed75fa43553cdd67f4 Mon Sep 17 00:00:00 2001 From: "Philip K. Warren" Date: Wed, 16 Nov 2022 11:34:51 -0600 Subject: [PATCH] update doc URL for PackageGetAllVersions Update the GitHub docs url for PackageGetAllVersions to include the correct anchor. --- github/orgs_packages.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/orgs_packages.go b/github/orgs_packages.go index 9fb11308b8c..0ae68aaa369 100644 --- a/github/orgs_packages.go +++ b/github/orgs_packages.go @@ -81,7 +81,7 @@ func (s *OrganizationsService) RestorePackage(ctx context.Context, org, packageT // Get all versions of a package in an organization. // -// GitHub API docs: https://docs.github.com/en/rest/packages#get-all-package-versions-for-a-package-owned-by-an-organization +// GitHub API docs: https://docs.github.com/en/rest/packages#list-package-versions-for-a-package-owned-by-an-organization func (s *OrganizationsService) PackageGetAllVersions(ctx context.Context, org, packageType, packageName string, opts *PackageListOptions) ([]*PackageVersion, *Response, error) { u := fmt.Sprintf("orgs/%v/packages/%v/%v/versions", org, packageType, packageName) u, err := addOptions(u, opts)