diff --git a/src/NzbDrone.Core/Notifications/Webhook/WebhookEventType.cs b/src/NzbDrone.Core/Notifications/Webhook/WebhookEventType.cs index 618be74be..610c03338 100644 --- a/src/NzbDrone.Core/Notifications/Webhook/WebhookEventType.cs +++ b/src/NzbDrone.Core/Notifications/Webhook/WebhookEventType.cs @@ -1,5 +1,11 @@ +using Newtonsoft.Json; +using Newtonsoft.Json.Converters; +using Newtonsoft.Json.Serialization; + namespace NzbDrone.Core.Notifications.Webhook { + // TODO: In v4 this will likely be changed to the default camel case. + [JsonConverter(typeof(StringEnumConverter), converterParameters: typeof(DefaultNamingStrategy))] public enum WebhookEventType { Test,