mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
Fixed: Webhooks using lower case event types (in the future this could change)
Signed-off-by: Robin Dadswell <robin@dadswell.email>
This commit is contained in:
@@ -1,5 +1,11 @@
|
|||||||
|
using Newtonsoft.Json;
|
||||||
|
using Newtonsoft.Json.Converters;
|
||||||
|
using Newtonsoft.Json.Serialization;
|
||||||
|
|
||||||
namespace NzbDrone.Core.Notifications.Webhook
|
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,
|
||||||
|
|||||||
Reference in New Issue
Block a user