1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-14 23:33:31 +00:00

Fix TaxService.previewTaxAmountForOrganizationTrial return type (#15848)

This commit is contained in:
Alex Morask
2025-07-31 08:19:20 -05:00
committed by GitHub
parent 4f9b2b618f
commit 18bce185f0
3 changed files with 6 additions and 6 deletions

View File

@@ -304,6 +304,7 @@ export class TrialBillingStepComponent implements OnInit, OnDestroy {
this.fetchingTaxAmount = true;
if (!this.taxInfoComponent.validate()) {
this.fetchingTaxAmount = false;
return 0;
}
@@ -326,7 +327,7 @@ export class TrialBillingStepComponent implements OnInit, OnDestroy {
const response = await this.taxService.previewTaxAmountForOrganizationTrial(request);
this.fetchingTaxAmount = false;
return response.taxAmount;
return response;
};
get price() {