mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-05-02 06:46:31 +01:00
Fixed AncestorIds and applied review comments
This commit is contained in:
@@ -40,7 +40,7 @@ public class MediaAttachmentRepository(IDbContextFactory<JellyfinDbContext> dbPr
|
||||
query = query.Where(e => e.Index == filter.Index);
|
||||
}
|
||||
|
||||
return query.ToList().Select(Map).ToImmutableArray();
|
||||
return query.AsEnumerable().Select(Map).ToImmutableArray();
|
||||
}
|
||||
|
||||
private MediaAttachment Map(AttachmentStreamInfo attachment)
|
||||
|
||||
Reference in New Issue
Block a user