From 556082c4c95d0af2fe448289be68b2fec87c2ac0 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Sat, 26 May 2018 18:29:57 +0900 Subject: [PATCH] fix json serialization --- BTCPayServer/BTCPayServer.csproj | 2 +- BTCPayServer/Models/TokenRequest.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BTCPayServer/BTCPayServer.csproj b/BTCPayServer/BTCPayServer.csproj index 9a92b6b37..bf7662173 100644 --- a/BTCPayServer/BTCPayServer.csproj +++ b/BTCPayServer/BTCPayServer.csproj @@ -2,7 +2,7 @@ Exe netcoreapp2.1 - 1.0.2.29 + 1.0.2.30 NU1701,CA1816,CA1308,CA1810,CA2208 diff --git a/BTCPayServer/Models/TokenRequest.cs b/BTCPayServer/Models/TokenRequest.cs index 13ac67fd2..62dc53f22 100644 --- a/BTCPayServer/Models/TokenRequest.cs +++ b/BTCPayServer/Models/TokenRequest.cs @@ -45,7 +45,7 @@ namespace BTCPayServer.Models public class PairingCodeResponse { - [JsonProperty(PropertyName = "pairingCode")] + [JsonProperty(PropertyName = "policies")] public JArray Policies { get; set; } [JsonProperty(PropertyName = "pairingCode")]