Greenfield: Currency rate should be strings (#4607)

This commit is contained in:
Nicolas Dorier
2023-02-08 19:18:37 +09:00
committed by GitHub
parent 85513aa5c3
commit 7bbfc8e6d4
3 changed files with 7 additions and 2 deletions

View File

@@ -1,10 +1,13 @@
using System.Collections.Generic;
using BTCPayServer.JsonConverters;
using Newtonsoft.Json;
namespace BTCPayServer.Client.Models;
public class StoreRateResult
{
public string CurrencyPair { get; set; }
[JsonConverter(typeof(NumericStringJsonConverter))]
public decimal? Rate { get; set; }
public List<string> Errors { get; set; }
}