Skip to content

Commit cbfb001

Browse files
authored
Update doc URL for PackageGetAllVersions (#2568)
1 parent 155b546 commit cbfb001

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

github/orgs_packages.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ func (s *OrganizationsService) RestorePackage(ctx context.Context, org, packageT
8181

8282
// Get all versions of a package in an organization.
8383
//
84-
// GitHub API docs: https://docs.github.com/en/rest/packages#get-all-package-versions-for-a-package-owned-by-an-organization
84+
// GitHub API docs: https://docs.github.com/en/rest/packages#list-package-versions-for-a-package-owned-by-an-organization
8585
func (s *OrganizationsService) PackageGetAllVersions(ctx context.Context, org, packageType, packageName string, opts *PackageListOptions) ([]*PackageVersion, *Response, error) {
8686
u := fmt.Sprintf("orgs/%v/packages/%v/%v/versions", org, packageType, packageName)
8787
u, err := addOptions(u, opts)

0 commit comments

Comments
 (0)