diff --git a/ProjectLighthouse/Types/User.cs b/ProjectLighthouse/Types/User.cs index a1d10c75..f783bb7b 100644 --- a/ProjectLighthouse/Types/User.cs +++ b/ProjectLighthouse/Types/User.cs @@ -31,7 +31,7 @@ namespace LBPUnion.ProjectLighthouse.Types public int Comments { get { using Database database = new(); - return database.Comments.Count(c => c.PosterUserId == this.UserId); + return database.Comments.Count(c => c.TargetUserId == this.UserId); } }