Fixed: Webhooks using lower case event types (in the future this could change)
Closes #4010
This commit is contained in:
parent
9f527718f2
commit
164f46e4c0
|
@ -1,5 +1,11 @@
|
||||||
namespace NzbDrone.Core.Notifications.Webhook
|
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
|
public enum WebhookEventType
|
||||||
{
|
{
|
||||||
Test,
|
Test,
|
||||||
|
|
Loading…
Reference in New Issue