mirror of https://github.com/lidarr/Lidarr
17 lines
538 B
C#
17 lines
538 B
C#
using Lidarr.Http;
|
|
using NzbDrone.Core.Notifications;
|
|
|
|
namespace Lidarr.Api.V1.Notifications
|
|
{
|
|
[V1ApiController]
|
|
public class NotificationController : ProviderControllerBase<NotificationResource, INotification, NotificationDefinition>
|
|
{
|
|
public static readonly NotificationResourceMapper ResourceMapper = new NotificationResourceMapper();
|
|
|
|
public NotificationController(NotificationFactory notificationFactory)
|
|
: base(notificationFactory, "notification", ResourceMapper)
|
|
{
|
|
}
|
|
}
|
|
}
|