mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 22:25:28 +01:00
Greenfield: Fix missing default currency in stores API
Docs mention it should be present, but it wasn't. Fixes #5123.
This commit is contained in:
parent
4afec2e2b6
commit
3ed81c3a78
1 changed files with 1 additions and 0 deletions
|
@ -129,6 +129,7 @@ namespace BTCPayServer.Controllers.Greenfield
|
||||||
//we do not include EmailSettings in this model and instead opt to set it in stores/storeid/email endpoints
|
//we do not include EmailSettings in this model and instead opt to set it in stores/storeid/email endpoints
|
||||||
//we do not include PaymentMethodCriteria because moving the CurrencyValueJsonConverter to the Client csproj is hard and requires a refactor (#1571 & #1572)
|
//we do not include PaymentMethodCriteria because moving the CurrencyValueJsonConverter to the Client csproj is hard and requires a refactor (#1571 & #1572)
|
||||||
NetworkFeeMode = storeBlob.NetworkFeeMode,
|
NetworkFeeMode = storeBlob.NetworkFeeMode,
|
||||||
|
DefaultCurrency = storeBlob.DefaultCurrency,
|
||||||
RequiresRefundEmail = storeBlob.RequiresRefundEmail,
|
RequiresRefundEmail = storeBlob.RequiresRefundEmail,
|
||||||
CheckoutType = storeBlob.CheckoutType,
|
CheckoutType = storeBlob.CheckoutType,
|
||||||
Receipt = InvoiceDataBase.ReceiptOptions.Merge(storeBlob.ReceiptOptions, null),
|
Receipt = InvoiceDataBase.ReceiptOptions.Merge(storeBlob.ReceiptOptions, null),
|
||||||
|
|
Loading…
Add table
Reference in a new issue