Use ToList instead of AsEnumerable due to delayed execution

pull/3555/head
Claus Vium 4 years ago
parent 203825f772
commit 340b585234

@ -96,7 +96,7 @@ namespace Jellyfin.Server.Implementations.Users
.Include(user => user.Preferences)
.Include(user => user.AccessSchedules)
.Include(user => user.ProfileImage)
.AsEnumerable();
.ToList();
}
}

Loading…
Cancel
Save