Website Summary Files Commits Branches @commit @diff @stats
path: root / src / DevHive.Web / Models / Post / ReadPostWebModel.cs
diff options
context:
space:
mode:
1 files changed, 2 insertions, 3 deletions
-rw-r--r--src/DevHive.Web/Models/Post/ReadPostWebModel.cs5
diff --git a/src/DevHive.Web/Models/Post/ReadPostWebModel.cs b/src/DevHive.Web/Models/Post/ReadPostWebModel.cs
index 64855cc..8238f47 100644
--- a/src/DevHive.Web/Models/Post/ReadPostWebModel.cs
+++ b/src/DevHive.Web/Models/Post/ReadPostWebModel.cs
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
-using DevHive.Web.Models.Comment;
-using Microsoft.AspNetCore.Mvc;
+using DevHive.Common.Models.Misc;
namespace DevHive.Web.Models.Post
{
@@ -19,7 +18,7 @@ namespace DevHive.Web.Models.Post
public DateTime TimeCreated { get; set; }
- public List<ReadCommentWebModel> Comments { get; set; }
+ public List<IdModel> Comments { get; set; }
public List<string> FileUrls { get; set; }
// public List<FileContentResult> Files { get; set; }