Skip to content

Commit

Permalink
update doc URL for PackageGetAllVersions
Browse files Browse the repository at this point in the history
Update the GitHub docs url for PackageGetAllVersions to include the
correct anchor.
  • Loading branch information
pkwarren committed Nov 16, 2022
1 parent 155b546 commit 397eb13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github/orgs_packages.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 397eb13

Please sign in to comment.