aboutsummaryrefslogtreecommitdiff
path: root/src/DevHive.Web
diff options
context:
space:
mode:
Diffstat (limited to 'src/DevHive.Web')
-rw-r--r--src/DevHive.Web/Models/Post/ReadPostWebModel.cs5
1 files changed, 2 insertions, 3 deletions
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; }