From e02e1e120693d466679cae2b602085f57b60971f Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 11 Aug 2020 01:16:56 +0800 Subject: Make author column of post nullable. --- Timeline/Models/Http/Timeline.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Timeline/Models/Http/Timeline.cs') diff --git a/Timeline/Models/Http/Timeline.cs b/Timeline/Models/Http/Timeline.cs index 5404d561..52e26190 100644 --- a/Timeline/Models/Http/Timeline.cs +++ b/Timeline/Models/Http/Timeline.cs @@ -21,7 +21,7 @@ namespace Timeline.Models.Http public TimelinePostContentInfo? Content { get; set; } public bool Deleted { get; set; } public DateTime Time { get; set; } - public UserInfo Author { get; set; } = default!; + public UserInfo? Author { get; set; } = default!; public DateTime LastUpdated { get; set; } = default!; } -- cgit v1.2.3