Skip to content

Commit

Permalink
refactor: updated SUBSCRIPTION_LEGAL_URL with LEARNER_SUPPORT_URL
Browse files Browse the repository at this point in the history
  • Loading branch information
mrazadar committed Jun 22, 2023
1 parent 83e3820 commit 55a5dcd
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ STRIPE_RESPONSE_URL=null
STRIPE_DEFERRED_INTENT_BETA_FLAG=elements_enable_deferred_intent_beta_1
SUBSCRIPTIONS_BASE_URL=null
ENABLE_B2C_SUBSCRIPTIONS=false
SUBSCRIPTIONS_LEGAL_SUPPORT_URL=null
LEARNER_SUPPORT_URL=null
2 changes: 1 addition & 1 deletion .env.development
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ STRIPE_RESPONSE_URL=http://localhost:18130/payment/stripe/checkout/
STRIPE_DEFERRED_INTENT_BETA_FLAG=elements_enable_deferred_intent_beta_1
SUBSCRIPTIONS_BASE_URL='http://localhost:18750'
ENABLE_B2C_SUBSCRIPTIONS=true
SUBSCRIPTIONS_LEGAL_SUPPORT_URL=https://support.edx.org/hc/en-us/articles/12975352138007
LEARNER_SUPPORT_URL=https://support.edx.org/hc/en-us/articles/12975352138007
2 changes: 1 addition & 1 deletion .env.development-stage
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ STRIPE_RESPONSE_URL=http://localhost:18130/payment/stripe/checkout/
STRIPE_DEFERRED_INTENT_BETA_FLAG=elements_enable_deferred_intent_beta_1
SUBSCRIPTIONS_BASE_URL='http://localhost:18750'
ENABLE_B2C_SUBSCRIPTIONS=false
SUBSCRIPTIONS_LEGAL_SUPPORT_URL=https://support.edx.org/hc/en-us/articles/12975352138007
LEARNER_SUPPORT_URL=https://support.edx.org/hc/en-us/articles/12975352138007
2 changes: 1 addition & 1 deletion .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ STRIPE_RESPONSE_URL=http://localhost:18130/payment/stripe/checkout/
STRIPE_DEFERRED_INTENT_BETA_FLAG=elements_enable_deferred_intent_beta_1
SUBSCRIPTIONS_BASE_URL='http://localhost:18750'
ENABLE_B2C_SUBSCRIPTIONS=false
SUBSCRIPTIONS_LEGAL_SUPPORT_URL=https://support.edx.org/hc/en-us/articles/12975352138007
LEARNER_SUPPORT_URL=https://support.edx.org/hc/en-us/articles/12975352138007
2 changes: 1 addition & 1 deletion src/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ mergeConfig({
STRIPE_DEFERRED_INTENT_BETA_FLAG: process.env.STRIPE_DEFERRED_INTENT_BETA_FLAG,
SUBSCRIPTIONS_BASE_URL: process.env.SUBSCRIPTIONS_BASE_URL,
ENABLE_B2C_SUBSCRIPTIONS: process.env.ENABLE_B2C_SUBSCRIPTIONS,
SUBSCRIPTIONS_LEGAL_SUPPORT_URL: process.env.SUBSCRIPTIONS_LEGAL_SUPPORT_URL,
LEARNER_SUPPORT_URL: process.env.LEARNER_SUPPORT_URL,
});

subscribe(APP_READY, () => {
Expand Down
2 changes: 1 addition & 1 deletion src/subscription/details/legal/SubscriptionLegal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const SubscriptionLegal = ({
const intl = useIntl();
const supportLink = (
<Hyperlink
destination={getConfig().SUBSCRIPTIONS_LEGAL_SUPPORT_URL}
destination={getConfig().LEARNER_SUPPORT_URL}
>
{intl.formatMessage(messages['subscription.details.order.legal.link'])}
</Hyperlink>
Expand Down

0 comments on commit 55a5dcd

Please sign in to comment.