Use split endpoint names for FF 'AC-1607_present-user-offboarding-survey' (#7983)

This commit is contained in:
Alex Morask 2024-02-16 13:38:10 -05:00 committed by GitHub
parent 5b652092cd
commit 1f8e6ea6f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ export class BillingApiService implements BillingApiServiceAbstraction {
): Promise<void> {
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<void> {
return this.apiService.send("POST", "/accounts/cancel-premium", request, true, false);
return this.apiService.send("POST", "/accounts/churn-premium", request, true, false);
}
}