mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-07-12 16:22:55 -07:00
Fixed #3599
This commit is contained in:
parent
863fce38fa
commit
76c5b99c16
2 changed files with 8 additions and 0 deletions
|
@ -146,6 +146,13 @@ namespace Ombi.Core.Engine.V2
|
||||||
item.Approved = oldModel.Approved;
|
item.Approved = oldModel.Approved;
|
||||||
item.SeasonRequests = oldModel.SeasonRequests;
|
item.SeasonRequests = oldModel.SeasonRequests;
|
||||||
item.RequestId = oldModel.RequestId;
|
item.RequestId = oldModel.RequestId;
|
||||||
|
item.Banner = item.Banner.Replace("http", "https");
|
||||||
|
|
||||||
|
if (!string.IsNullOrEmpty(item.Images?.Medium))
|
||||||
|
{
|
||||||
|
item.Images.Medium = item.Images.Medium.Replace("http", "https");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
return await GetExtraInfo(showInfoTask, item);
|
return await GetExtraInfo(showInfoTask, item);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1147,6 +1147,7 @@ namespace Ombi.Controllers.V1
|
||||||
{
|
{
|
||||||
templates = templates.Where(x => x.NotificationType != NotificationType.WelcomeEmail);
|
templates = templates.Where(x => x.NotificationType != NotificationType.WelcomeEmail);
|
||||||
}
|
}
|
||||||
|
|
||||||
var tem = templates.ToList();
|
var tem = templates.ToList();
|
||||||
return tem.OrderBy(x => x.NotificationType.ToString()).ToList();
|
return tem.OrderBy(x => x.NotificationType.ToString()).ToList();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue