mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-14 17:22:54 -07:00
Fixed some bugs !wip
This commit is contained in:
parent
a211a50deb
commit
1eb2dc930b
28 changed files with 28 additions and 34 deletions
|
@ -119,7 +119,10 @@ namespace Ombi.Store.Context
|
|||
var roles = Roles.Where(x => x.Name == OmbiRoles.RecievesNewsletter);
|
||||
if (!roles.Any())
|
||||
{
|
||||
Roles.Add(new IdentityRole(OmbiRoles.RecievesNewsletter));
|
||||
Roles.Add(new IdentityRole(OmbiRoles.RecievesNewsletter)
|
||||
{
|
||||
NormalizedName = OmbiRoles.RecievesNewsletter.ToUpper()
|
||||
});
|
||||
}
|
||||
//Check if templates exist
|
||||
var templates = NotificationTemplates.ToList();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue