Skip to content

Commit

Permalink
Merge pull request #17 from jfrog/use-singular-license-api-endpoint
Browse files Browse the repository at this point in the history
Use singular form of the license API endpoint
  • Loading branch information
danielmkn authored Jan 5, 2022
2 parents cf6e939 + 108f7c7 commit 0293ab3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/projects/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ func checkArtifactoryLicense(client *resty.Client) error {
licensesWrapper := LicensesWrapper{}
_, err := client.R().
SetResult(&licensesWrapper).
Get("/artifactory/api/system/licenses")
Get("/artifactory/api/system/license")

if err != nil {
return fmt.Errorf("Failed to check for license. %s", err)
Expand Down

0 comments on commit 0293ab3

Please sign in to comment.