Skip to content

Commit

Permalink
Update doc URL for PackageGetAllVersions (#2568)
Browse files Browse the repository at this point in the history
  • Loading branch information
pkwarren committed Nov 16, 2022
1 parent 155b546 commit cbfb001
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github/orgs_packages.go
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 cbfb001

Please sign in to comment.