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; }