From 1f8e6ea6f8a736a8a766e5e0643c7106adfa8433 Mon Sep 17 00:00:00 2001 From: Alex Morask <144709477+amorask-bitwarden@users.noreply.github.com> Date: Fri, 16 Feb 2024 13:38:10 -0500 Subject: [PATCH] Use split endpoint names for FF 'AC-1607_present-user-offboarding-survey' (#7983) --- libs/common/src/billing/services/billing-api.service.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/common/src/billing/services/billing-api.service.ts b/libs/common/src/billing/services/billing-api.service.ts index e3044a2293..b135b6f154 100644 --- a/libs/common/src/billing/services/billing-api.service.ts +++ b/libs/common/src/billing/services/billing-api.service.ts @@ -11,7 +11,7 @@ export class BillingApiService implements BillingApiServiceAbstraction { ): Promise { return this.apiService.send( "POST", - "/organizations/" + organizationId + "/cancel", + "/organizations/" + organizationId + "/churn", request, true, false, @@ -19,6 +19,6 @@ export class BillingApiService implements BillingApiServiceAbstraction { } cancelPremiumUserSubscription(request: SubscriptionCancellationRequest): Promise { - return this.apiService.send("POST", "/accounts/cancel-premium", request, true, false); + return this.apiService.send("POST", "/accounts/churn-premium", request, true, false); } }