Fix typo in IconHash query

This commit is contained in:
Slendy 2023-05-31 20:46:52 -05:00
parent bee3e39c74
commit b29120a482
No known key found for this signature in database
GPG key ID: 7288D68361B91428

View file

@ -246,7 +246,7 @@ public class GameUserSlot : SlotBase, INeedsPreparationForSerialization
AuthorPhotoCount = database.Photos.Count(p => p.SlotId == this.SlotId && p.CreatorId == this.CreatorId),
HeartCount = database.HeartedLevels.Count(h => h.SlotId == this.SlotId),
Username = database.Users.Where(u => u.UserId == this.CreatorId).Select(u => u.Username).First(),
IconHash = database.Users.Where(u => u.UserId == this.CreatorId).Select(u => u.Username).First(),
IconHash = database.Users.Where(u => u.UserId == this.CreatorId).Select(u => u.IconHash).First(),
})
.OrderBy(_ => 1)
.FirstAsync();