From e88c0e7592b620fd6dd098b6ef1afe8c15f792df Mon Sep 17 00:00:00 2001 From: Kukks Date: Tue, 6 Feb 2024 15:05:45 +0100 Subject: [PATCH] bump TT --- .../BTCPayServer.Plugins.TicketTailor.csproj | 2 +- .../TicketTailorService.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Plugins/BTCPayServer.Plugins.TicketTailor/BTCPayServer.Plugins.TicketTailor.csproj b/Plugins/BTCPayServer.Plugins.TicketTailor/BTCPayServer.Plugins.TicketTailor.csproj index 00ed5f9..1ce7d51 100644 --- a/Plugins/BTCPayServer.Plugins.TicketTailor/BTCPayServer.Plugins.TicketTailor.csproj +++ b/Plugins/BTCPayServer.Plugins.TicketTailor/BTCPayServer.Plugins.TicketTailor.csproj @@ -9,7 +9,7 @@ TicketTailor Allows you to integrate with TicketTailor.com to sell tickets for Bitcoin - 2.0.2 + 2.0.3 true diff --git a/Plugins/BTCPayServer.Plugins.TicketTailor/TicketTailorService.cs b/Plugins/BTCPayServer.Plugins.TicketTailor/TicketTailorService.cs index 9c7dd1d..99a1fa5 100644 --- a/Plugins/BTCPayServer.Plugins.TicketTailor/TicketTailorService.cs +++ b/Plugins/BTCPayServer.Plugins.TicketTailor/TicketTailorService.cs @@ -361,11 +361,11 @@ public class TicketTailorService : EventHostedServiceBase, IWebhookProvider public class WebhookTicketTailorEvent : StoreWebhookEvent { - public WebhookTicketTailorEvent(string evtType, string storeId) + public WebhookTicketTailorEvent(string type, string storeId) { - if (!evtType.StartsWith("tickettailor", StringComparison.InvariantCultureIgnoreCase)) - throw new ArgumentException("Invalid event type", nameof(evtType)); - Type = evtType; + if (!type.StartsWith("tickettailor", StringComparison.InvariantCultureIgnoreCase)) + throw new ArgumentException("Invalid event type", nameof(type)); + Type = type; StoreId = storeId; }