From bac1c733f276ad0f449b4c60e5662d0413cd2121 Mon Sep 17 00:00:00 2001 From: crupest Date: Fri, 10 Jul 2020 15:36:51 +0800 Subject: Add deleted field. --- Timeline/Models/Timeline.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Timeline/Models/Timeline.cs') diff --git a/Timeline/Models/Timeline.cs b/Timeline/Models/Timeline.cs index 3701ed35..b1772fa7 100644 --- a/Timeline/Models/Timeline.cs +++ b/Timeline/Models/Timeline.cs @@ -48,7 +48,7 @@ namespace Timeline.Models public class TimelinePost { - public TimelinePost(long id, ITimelinePostContent content, DateTime time, User author, DateTime lastUpdated, string timelineName) + public TimelinePost(long id, ITimelinePostContent? content, DateTime time, User author, DateTime lastUpdated, string timelineName) { Id = id; Content = content; @@ -59,7 +59,7 @@ namespace Timeline.Models } public long Id { get; set; } - public ITimelinePostContent Content { get; set; } + public ITimelinePostContent? Content { get; set; } public DateTime Time { get; set; } public User Author { get; set; } public DateTime LastUpdated { get; set; } -- cgit v1.2.3