mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-14 18:47:15 -07:00
#96 modify notifications interface/service to accept a non-type specific settings object.
This commit is contained in:
parent
4b3f79b4a8
commit
45208e528f
6 changed files with 13 additions and 11 deletions
|
@ -37,6 +37,6 @@ namespace PlexRequests.Services.Interfaces
|
|||
|
||||
Task NotifyAsync(NotificationModel model);
|
||||
|
||||
Task NotifyAsync(NotificationModel model, EmailNotificationSettings settings);
|
||||
Task NotifyAsync(NotificationModel model, Settings settings);
|
||||
}
|
||||
}
|
|
@ -34,7 +34,7 @@ namespace PlexRequests.Services.Interfaces
|
|||
public interface INotificationService
|
||||
{
|
||||
Task Publish(NotificationModel model);
|
||||
Task Publish(NotificationModel model, EmailNotificationSettings settings);
|
||||
Task Publish(NotificationModel model, Settings settings);
|
||||
void Subscribe(INotification notification);
|
||||
void UnSubscribe(INotification notification);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue