Skip to content

The Free Software Media System - Server Backend & API

Use AsEnumerable for UserManager.Users

Patrick Barronb468ae2aea3b
diff --git a/Jellyfin.Server.Implementations/Users/UserManager.cs b/Jellyfin.Server.Implementations/Users/UserManager.cs
index 4ed0b7501a..6283a1bca5 100644
--- a/Jellyfin.Server.Implementations/Users/UserManager.cs
+++ b/Jellyfin.Server.Implementations/Users/UserManager.cs
@@ -96,7 +96,7 @@ namespace Jellyfin.Server.Implementations.Users
.Include(user => user.Preferences)
.Include(user => user.AccessSchedules)
.Include(user => user.ProfileImage)
- .ToList();
+ .AsEnumerable();
}
}