mirror of
https://github.com/Readarr/Readarr
synced 2025-12-19 23:04:49 +01: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:
parent
5afe37e929
commit
8853f1cfb3
1 changed files with 6 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue