From b29120a4828c7f9e730cd27d1caa26fd71ef45a9 Mon Sep 17 00:00:00 2001 From: Slendy Date: Wed, 31 May 2023 20:46:52 -0500 Subject: [PATCH] Fix typo in IconHash query --- ProjectLighthouse/Types/Serialization/GameUserSlot.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ProjectLighthouse/Types/Serialization/GameUserSlot.cs b/ProjectLighthouse/Types/Serialization/GameUserSlot.cs index 5b95ba20..427c250f 100644 --- a/ProjectLighthouse/Types/Serialization/GameUserSlot.cs +++ b/ProjectLighthouse/Types/Serialization/GameUserSlot.cs @@ -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();