aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Models/Http/Timeline.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-08-11 01:16:56 +0800
committercrupest <crupest@outlook.com>2020-08-11 01:16:56 +0800
commite02e1e120693d466679cae2b602085f57b60971f (patch)
tree4ef46f3861528b8b5287cc4a6912fb402dee57cd /Timeline/Models/Http/Timeline.cs
parent06e79c99bbc810f16058b35f1c88c23148bf8e57 (diff)
downloadtimeline-e02e1e120693d466679cae2b602085f57b60971f.tar.gz
timeline-e02e1e120693d466679cae2b602085f57b60971f.tar.bz2
timeline-e02e1e120693d466679cae2b602085f57b60971f.zip
Make author column of post nullable.
Diffstat (limited to 'Timeline/Models/Http/Timeline.cs')
-rw-r--r--Timeline/Models/Http/Timeline.cs2
1 files changed, 1 insertions, 1 deletions
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!;
}