diff options
author | crupest <crupest@outlook.com> | 2020-08-11 01:16:56 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2020-08-11 01:16:56 +0800 |
commit | d31cc920403b1e1f90a48d2569084c2f6a4d7dbe (patch) | |
tree | fcb379996d02a1de4052f6598d7c52e1196b35a7 /Timeline/Models/Http/Timeline.cs | |
parent | d529b53530270cd7c5d9a90ebcb11e49f7b1eb0d (diff) | |
download | timeline-d31cc920403b1e1f90a48d2569084c2f6a4d7dbe.tar.gz timeline-d31cc920403b1e1f90a48d2569084c2f6a4d7dbe.tar.bz2 timeline-d31cc920403b1e1f90a48d2569084c2f6a4d7dbe.zip |
Make author column of post nullable.
Diffstat (limited to 'Timeline/Models/Http/Timeline.cs')
-rw-r--r-- | Timeline/Models/Http/Timeline.cs | 2 |
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!;
}
|