Skip to content

Commit 25fa467

Browse files
committed
fix(auth): Fix Terms URL for Stay subscribedemail
- Sentry event - handleException: An instance of GetCMSChurnInterventionActionArgs has failed the validation: - property churnType has failed the following constraints: isIn (https://mozilla.sentry.io/issues/7090829184/?environment=stage&project=4505948913139712&query=is%3Aunresolved&referrer=issue-stream) - Valid churnType options are ‘cancel’ and ‘stay_subscribed’, but the URL has ‘stay-subscribed’ as the churn type - Fix URL Closes: PAY-3491
1 parent d0f1a4b commit 25fa467

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/fxa-auth-server/lib/payments/subscription-reminders.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ export class SubscriptionReminders {
240240
purchase.purchaseDetails.localizations.at(0)?.webIcon ||
241241
purchase.purchaseDetails.webIcon,
242242
churnTermsUrl: new URL(
243-
`${this.paymentsNextUrl}/${offeringId}/${priceSubplatInterval}/stay-subscribed/loyalty-discount/terms`
243+
`${this.paymentsNextUrl}/${offeringId}/${priceSubplatInterval}/stay_subscribed/loyalty-discount/terms`
244244
).toString(),
245245
ctaButtonLabel: cmsChurnInterventionEntry?.ctaMessage,
246246
ctaButtonUrl: new URL(

0 commit comments

Comments
 (0)