mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-05-31 20:24:21 -04:00
Fix build after backports due to EFCore change (#13488)
This commit is contained in:
parent
c77b3fa258
commit
d376b5fbc7
@ -277,7 +277,7 @@ public class GuideManager : IGuideManager
|
|||||||
if (newPrograms.Count > 0)
|
if (newPrograms.Count > 0)
|
||||||
{
|
{
|
||||||
var newProgramDtos = programs.Where(b => newPrograms.Contains(b.Id)).ToList();
|
var newProgramDtos = programs.Where(b => newPrograms.Contains(b.Id)).ToList();
|
||||||
_libraryManager.CreateItems(newProgramDtos, null, cancellationToken);
|
_libraryManager.CreateOrUpdateItems(newProgramDtos, null, cancellationToken);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (updatedPrograms.Count > 0)
|
if (updatedPrograms.Count > 0)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user