Skip to content

Commit

Permalink
fix: update terms spec url (#1291)
Browse files Browse the repository at this point in the history
  • Loading branch information
wtrocki authored Nov 5, 2021
1 parent e1c5721 commit d3fbadd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ SHELL = bash
RHOAS_VERSION ?= "dev"
REPOSITORY_OWNER ?= "redhat-developer"
REPOSITORY_NAME ?= "app-services-cli"
TERMS_SPEC_URL ?= "https://raw.githubusercontent.com/redhat-developer/app-services-ui/main/static/configs/terms-conditions-spec.json"
TERMS_SPEC_URL ?= "https://console.redhat.com/apps/application-services/terms-conditions-spec.json"
SSO_REDIRECT_PATH ?= "sso-redhat-callback"
MAS_SSO_REDIRECT_PATH ?= "mas-sso-callback"

Expand Down
2 changes: 1 addition & 1 deletion internal/build/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var (
RepositoryName = "app-services-cli"

// TermsReviewSpecURL Url used to download terms and conditions specification
TermsReviewSpecURL = "https://raw.githubusercontent.com/redhat-developer/app-services-ui/main/static/configs/terms-conditions-spec.json"
TermsReviewSpecURL = "https://console.redhat.com/apps/application-services/terms-conditions-spec.json"

// DefaultPageSize is the default number of items per page when using list commands
DefaultPageSize = "10"
Expand Down
2 changes: 1 addition & 1 deletion pkg/ams/terms.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func GetRemoteTermsSpec(context *context.Context, logger logging.Logger) TermsAn
return fallbackTocSpec
}

logger.Debug("Terms spec: ", specJson)
logger.Debug("Terms spec: ", string(specJson))

var termsAndConditionsSpec TermsAndConditionsSpec
err = json.Unmarshal([]byte(specJson), &termsAndConditionsSpec)
Expand Down

0 comments on commit d3fbadd

Please sign in to comment.