mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-25 22:36:59 -04:00
599f52e72f
Fixes #1612 Co-Authored-By: Mark McDowall <markus101@users.noreply.github.com>
17 lines
540 B
C#
17 lines
540 B
C#
using NzbDrone.Core.Notifications;
|
|
using Readarr.Http;
|
|
|
|
namespace Readarr.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)
|
|
{
|
|
}
|
|
}
|
|
}
|