Use collection expression

pull/10878/head
Patrick Barron 9 months ago
parent 502cbe77b2
commit 5d3acd43e9

@ -233,7 +233,7 @@ public class GuideManager : IGuideManager
var existingPrograms = _libraryManager.GetItemList(new InternalItemsQuery
{
IncludeItemTypes = [BaseItemKind.LiveTvProgram],
ChannelIds = new[] { currentChannel.Id },
ChannelIds = [currentChannel.Id],
DtoOptions = new DtoOptions(true)
}).Cast<LiveTvProgram>().ToDictionary(i => i.Id);

Loading…
Cancel
Save