mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-20 20:21:28 +00:00
Fix typo in IconHash query
This commit is contained in:
parent
bee3e39c74
commit
b29120a482
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ public class GameUserSlot : SlotBase, INeedsPreparationForSerialization
|
||||||
AuthorPhotoCount = database.Photos.Count(p => p.SlotId == this.SlotId && p.CreatorId == this.CreatorId),
|
AuthorPhotoCount = database.Photos.Count(p => p.SlotId == this.SlotId && p.CreatorId == this.CreatorId),
|
||||||
HeartCount = database.HeartedLevels.Count(h => h.SlotId == this.SlotId),
|
HeartCount = database.HeartedLevels.Count(h => h.SlotId == this.SlotId),
|
||||||
Username = database.Users.Where(u => u.UserId == this.CreatorId).Select(u => u.Username).First(),
|
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)
|
.OrderBy(_ => 1)
|
||||||
.FirstAsync();
|
.FirstAsync();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue