This commit is contained in:
tidusjar 2018-02-01 21:58:37 +00:00
parent c370909619
commit e235475413
3 changed files with 48 additions and 61 deletions

View file

@ -99,7 +99,7 @@ namespace Ombi.Store.Context
});
SaveChanges();
}
var notification = ApplicationConfigurations.FirstOrDefault(x => x.Type != ConfigurationTypes.Notification);
var notification = ApplicationConfigurations.FirstOrDefault(x => x.Type == ConfigurationTypes.Notification);
if (notification == null)
{
ApplicationConfigurations.Add(new ApplicationConfiguration