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

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