mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 06:13:38 +00:00
Use split endpoint names for FF 'AC-1607_present-user-offboarding-survey' (#7983)
This commit is contained in:
@@ -11,7 +11,7 @@ export class BillingApiService implements BillingApiServiceAbstraction {
|
|||||||
): Promise<void> {
|
): Promise<void> {
|
||||||
return this.apiService.send(
|
return this.apiService.send(
|
||||||
"POST",
|
"POST",
|
||||||
"/organizations/" + organizationId + "/cancel",
|
"/organizations/" + organizationId + "/churn",
|
||||||
request,
|
request,
|
||||||
true,
|
true,
|
||||||
false,
|
false,
|
||||||
@@ -19,6 +19,6 @@ export class BillingApiService implements BillingApiServiceAbstraction {
|
|||||||
}
|
}
|
||||||
|
|
||||||
cancelPremiumUserSubscription(request: SubscriptionCancellationRequest): Promise<void> {
|
cancelPremiumUserSubscription(request: SubscriptionCancellationRequest): Promise<void> {
|
||||||
return this.apiService.send("POST", "/accounts/cancel-premium", request, true, false);
|
return this.apiService.send("POST", "/accounts/churn-premium", request, true, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user