Fix issue with new Invoice API ignoring internal tags

This commit is contained in:
Kukks
2020-09-21 12:33:46 +02:00
parent 9aed4b0e87
commit 0b2f115b73

View File

@@ -175,6 +175,8 @@ namespace BTCPayServer.Controllers
excludeFilter = PaymentFilter.Where(p => !supportedTransactionCurrencies.Contains(p)); excludeFilter = PaymentFilter.Where(p => !supportedTransactionCurrencies.Contains(p));
} }
entity.PaymentTolerance = invoice.Checkout.PaymentTolerance ?? storeBlob.PaymentTolerance; entity.PaymentTolerance = invoice.Checkout.PaymentTolerance ?? storeBlob.PaymentTolerance;
if (additionalTags != null)
entity.InternalTags.AddRange(additionalTags);
return await CreateInvoiceCoreRaw(entity, store, excludeFilter, cancellationToken); return await CreateInvoiceCoreRaw(entity, store, excludeFilter, cancellationToken);
} }