mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-07 21:42:16 -07:00
Fixed: Webhooks using lower case event types (in the future this could change)
This commit is contained in:
parent
acda741b2b
commit
395da6c807
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
|
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…
Add table
Add a link
Reference in a new issue