aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Models/Timeline.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-07-10 15:36:51 +0800
committercrupest <crupest@outlook.com>2020-07-10 15:36:51 +0800
commitb347fcf45abdae58352cf07e24ec907e1f77a31a (patch)
treeff02e776aba6e989604d37c6e6497f91e0d87d6b /Timeline/Models/Timeline.cs
parente4ca28740d3ccdb64b61361a16bd104009682f6c (diff)
downloadtimeline-b347fcf45abdae58352cf07e24ec907e1f77a31a.tar.gz
timeline-b347fcf45abdae58352cf07e24ec907e1f77a31a.tar.bz2
timeline-b347fcf45abdae58352cf07e24ec907e1f77a31a.zip
Add deleted field.
Diffstat (limited to 'Timeline/Models/Timeline.cs')
-rw-r--r--Timeline/Models/Timeline.cs4
1 files changed, 2 insertions, 2 deletions
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; }