mirror of
https://github.com/Ombi-app/Ombi.git
synced 2025-08-21 13:53:19 -07:00
Fixed #1090
This commit is contained in:
parent
4ccffabfc0
commit
15dab75418
3 changed files with 10 additions and 2 deletions
|
@ -242,8 +242,10 @@ namespace Ombi.Services.Jobs.RecentlyAddedNewsletter
|
|||
public EmbySeriesInformation Series { get; set; }
|
||||
public List<EmbyEpisodeInformation> Episodes { get; set; }
|
||||
}
|
||||
private void GenerateTvHtml(List<EmbyRecentlyAddedModel> tv, StringBuilder sb)
|
||||
private void GenerateTvHtml(IEnumerable<EmbyRecentlyAddedModel> recenetlyAddedTv, StringBuilder sb)
|
||||
{
|
||||
var tv = recenetlyAddedTv?.ToList() ?? new List<EmbyRecentlyAddedModel>();
|
||||
|
||||
if (!tv.Any())
|
||||
{
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue