This commit is contained in:
Kukks
2024-02-06 15:05:45 +01:00
parent d67fb2b953
commit e88c0e7592
2 changed files with 5 additions and 5 deletions

View File

@@ -9,7 +9,7 @@
<PropertyGroup> <PropertyGroup>
<Product>TicketTailor</Product> <Product>TicketTailor</Product>
<Description>Allows you to integrate with TicketTailor.com to sell tickets for Bitcoin</Description> <Description>Allows you to integrate with TicketTailor.com to sell tickets for Bitcoin</Description>
<Version>2.0.2</Version> <Version>2.0.3</Version>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
</PropertyGroup> </PropertyGroup>
<!-- Plugin development properties --> <!-- Plugin development properties -->

View File

@@ -361,11 +361,11 @@ public class TicketTailorService : EventHostedServiceBase, IWebhookProvider
public class WebhookTicketTailorEvent : StoreWebhookEvent public class WebhookTicketTailorEvent : StoreWebhookEvent
{ {
public WebhookTicketTailorEvent(string evtType, string storeId) public WebhookTicketTailorEvent(string type, string storeId)
{ {
if (!evtType.StartsWith("tickettailor", StringComparison.InvariantCultureIgnoreCase)) if (!type.StartsWith("tickettailor", StringComparison.InvariantCultureIgnoreCase))
throw new ArgumentException("Invalid event type", nameof(evtType)); throw new ArgumentException("Invalid event type", nameof(type));
Type = evtType; Type = type;
StoreId = storeId; StoreId = storeId;
} }