From fa7ea62ab2aa379e1db068fc93fe1493b2c0ce60 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Wed, 26 Jun 2024 17:43:56 +0900 Subject: [PATCH] Add AdditionalData to PointOfSaleBaseData --- BTCPayServer.Client/Models/PointOfSaleAppData.cs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/BTCPayServer.Client/Models/PointOfSaleAppData.cs b/BTCPayServer.Client/Models/PointOfSaleAppData.cs index 232811e33..edb59a623 100644 --- a/BTCPayServer.Client/Models/PointOfSaleAppData.cs +++ b/BTCPayServer.Client/Models/PointOfSaleAppData.cs @@ -1,5 +1,8 @@ using System; +using System.Collections.Generic; using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Linq; namespace BTCPayServer.Client.Models { @@ -13,7 +16,9 @@ namespace BTCPayServer.Client.Models public bool? Archived { get; set; } [JsonConverter(typeof(NBitcoin.JsonConverters.DateTimeToUnixTimeConverter))] public DateTimeOffset Created { get; set; } - } + [JsonExtensionData] + public IDictionary AdditionalData { get; set; } = new Dictionary(); + } public class PointOfSaleAppData : AppDataBase {