mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 00:22:50 -05:00
Fix Stripe org default tax rates
This commit is contained in:
@ -62,7 +62,7 @@ namespace Bit.Core.Models.Business
|
||||
protected void AddTaxRateItem(List<Stripe.TaxRate> taxRates) => AddTaxRateItem(taxRates?.Select(t => t.Id).ToList());
|
||||
protected void AddTaxRateItem(List<string> taxRateIds)
|
||||
{
|
||||
if (taxRateIds != null && taxRateIds.Any())
|
||||
if (taxRateIds != null && taxRateIds.Any(tax => !string.IsNullOrWhiteSpace(tax)))
|
||||
{
|
||||
DefaultTaxRates = taxRateIds;
|
||||
}
|
||||
|
Reference in New Issue
Block a user