mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-15 01:23:53 -07:00
Added test button to notification edit
This commit is contained in:
parent
38589742e3
commit
1f4cf0034e
7 changed files with 78 additions and 8 deletions
|
@ -34,6 +34,7 @@ namespace NzbDrone.Api.Notifications
|
|||
var notificationResource = new NotificationResource();
|
||||
notificationResource.InjectFrom(notification);
|
||||
notificationResource.Fields = SchemaBuilder.GenerateSchema(notification.Settings);
|
||||
notificationResource.Command = String.Format("test{0}", notification.Implementation.ToLowerInvariant());
|
||||
|
||||
result.Add(notificationResource);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue