mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-15 01:32:55 -07:00
Fixed the issue where notifications were not sendind unless we restarted #1732
This commit is contained in:
parent
8989b6b72b
commit
de334f5130
1 changed files with 3 additions and 0 deletions
|
@ -23,6 +23,8 @@ namespace Ombi.Notifications.Interfaces
|
|||
MovieRepository = movie;
|
||||
TvRepository = tv;
|
||||
CustomizationSettings = customization;
|
||||
Settings.ClearCache();
|
||||
CustomizationSettings.ClearCache();
|
||||
}
|
||||
|
||||
protected ISettingsService<T> Settings { get; }
|
||||
|
@ -46,6 +48,7 @@ namespace Ombi.Notifications.Interfaces
|
|||
|
||||
public async Task NotifyAsync(NotificationOptions model, Settings.Settings.Models.Settings settings)
|
||||
{
|
||||
Settings.ClearCache();
|
||||
if (settings == null) await NotifyAsync(model);
|
||||
|
||||
var notificationSettings = (T)settings;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue