mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
[Greenfield] Fix create/update payment requests expiry field and allow null currency field (Fix #3222) (#3284)
This commit is contained in:
@@ -36,7 +36,7 @@ namespace BTCPayServer.Models.PaymentRequestViewModels
|
||||
Amount = blob.Amount;
|
||||
Currency = blob.Currency;
|
||||
Description = blob.Description;
|
||||
ExpiryDate = blob.ExpiryDate;
|
||||
ExpiryDate = blob.ExpiryDate?.UtcDateTime;
|
||||
Email = blob.Email;
|
||||
CustomCSSLink = blob.CustomCSSLink;
|
||||
EmbeddedCSS = blob.EmbeddedCSS;
|
||||
@@ -88,7 +88,7 @@ namespace BTCPayServer.Models.PaymentRequestViewModels
|
||||
Amount = blob.Amount;
|
||||
Currency = blob.Currency;
|
||||
Description = blob.Description;
|
||||
ExpiryDate = blob.ExpiryDate;
|
||||
ExpiryDate = blob.ExpiryDate?.UtcDateTime;
|
||||
Email = blob.Email;
|
||||
EmbeddedCSS = blob.EmbeddedCSS;
|
||||
CustomCSSLink = blob.CustomCSSLink;
|
||||
|
||||
Reference in New Issue
Block a user