aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Data/Models
diff options
context:
space:
mode:
Diffstat (limited to 'src/DevHive.Data/Models')
-rw-r--r--src/DevHive.Data/Models/Post.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/DevHive.Data/Models/Post.cs b/src/DevHive.Data/Models/Post.cs
index 2d144d3..bb22576 100644
--- a/src/DevHive.Data/Models/Post.cs
+++ b/src/DevHive.Data/Models/Post.cs
@@ -19,7 +19,7 @@ namespace DevHive.Data.Models
public List<Comment> Comments { get; set; } = new();
public Guid RatingId { get; set; }
- public Rating Rating { get; set; }
+ public Rating Rating { get; set; } = new();
public List<string> FileUrls { get; set; } = new();
}