mirror of
https://github.com/Sonarr/Sonarr.git
synced 2026-04-22 22:16:13 -04:00
@@ -85,6 +85,17 @@ namespace NzbDrone.Core.Notifications.Webhook
|
||||
};
|
||||
}
|
||||
|
||||
protected WebhookSeriesAddPayload BuildOnSeriesAdd(SeriesAddMessage addMessage)
|
||||
{
|
||||
return new WebhookSeriesAddPayload
|
||||
{
|
||||
EventType = WebhookEventType.SeriesAdd,
|
||||
InstanceName = _configFileProvider.InstanceName,
|
||||
ApplicationUrl = _configService.ApplicationUrl,
|
||||
Series = new WebhookSeries(addMessage.Series),
|
||||
};
|
||||
}
|
||||
|
||||
protected WebhookSeriesDeletePayload BuildOnSeriesDelete(SeriesDeleteMessage deleteMessage)
|
||||
{
|
||||
return new WebhookSeriesDeletePayload
|
||||
|
||||
Reference in New Issue
Block a user