Use ToList instead of AsEnumerable due to delayed execution

This commit is contained in:
Claus Vium 2020-07-14 12:38:56 +02:00
parent 203825f772
commit 340b585234
1 changed files with 1 additions and 1 deletions

View File

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