fix json serialization

This commit is contained in:
nicolas.dorier
2018-05-26 18:29:57 +09:00
parent 6a46d02fc6
commit 556082c4c9
2 changed files with 2 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>netcoreapp2.1</TargetFramework> <TargetFramework>netcoreapp2.1</TargetFramework>
<Version>1.0.2.29</Version> <Version>1.0.2.30</Version>
<NoWarn>NU1701,CA1816,CA1308,CA1810,CA2208</NoWarn> <NoWarn>NU1701,CA1816,CA1308,CA1810,CA2208</NoWarn>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>

View File

@@ -45,7 +45,7 @@ namespace BTCPayServer.Models
public class PairingCodeResponse public class PairingCodeResponse
{ {
[JsonProperty(PropertyName = "pairingCode")] [JsonProperty(PropertyName = "policies")]
public JArray Policies { get; set; } public JArray Policies { get; set; }
[JsonProperty(PropertyName = "pairingCode")] [JsonProperty(PropertyName = "pairingCode")]