Actually fix profile images

This commit is contained in:
Patrick Barron
2020-06-13 16:38:17 -04:00
parent 1e1386bbc6
commit 3278015444
7 changed files with 65 additions and 61 deletions

View File

@@ -671,7 +671,7 @@ namespace Jellyfin.Server.Implementations.Users
public void ClearProfileImage(User user)
{
var dbContext = _dbProvider.CreateContext();
dbContext.ImageInfos.Remove(user.ProfileImage);
dbContext.Remove(user.ProfileImage);
dbContext.SaveChanges();
}