No need to make a new list.

This commit is contained in:
Michael Bucari-Tovo 2022-05-26 16:50:43 -06:00
parent 2c86571818
commit 61f4dbd896

View File

@ -181,10 +181,8 @@ namespace AudibleUtilities
var children = await getEpisodeChildrenAsync(parent); var children = await getEpisodeChildrenAsync(parent);
// actual individual episode, not the parent of a series.
// for now I'm keeping it inside this method since it fits the work flow, incl. importEpisodes logic
if (!children.Any()) if (!children.Any())
return new(); return children;
foreach (var child in children) foreach (var child in children)
{ {