aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Models
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-03-10 16:19:28 +0800
committercrupest <crupest@outlook.com>2020-03-10 16:19:28 +0800
commit08b18564bb1c477b01384cb93d62f98cfcb83f48 (patch)
treec4d4950a726648c5341efc7b61d440ed6f8bc9af /Timeline/Models
parent843da00b55c2296422596ec0539afbcadb3de3b5 (diff)
downloadtimeline-08b18564bb1c477b01384cb93d62f98cfcb83f48.tar.gz
timeline-08b18564bb1c477b01384cb93d62f98cfcb83f48.tar.bz2
timeline-08b18564bb1c477b01384cb93d62f98cfcb83f48.zip
...
Diffstat (limited to 'Timeline/Models')
-rw-r--r--Timeline/Models/Http/TimelineController.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/Timeline/Models/Http/TimelineController.cs b/Timeline/Models/Http/TimelineController.cs
index ce5f3b98..3e2e6b58 100644
--- a/Timeline/Models/Http/TimelineController.cs
+++ b/Timeline/Models/Http/TimelineController.cs
@@ -14,6 +14,7 @@ namespace Timeline.Models.Http
public class TimelinePostCreateRequest
{
+ [Required]
public TimelinePostCreateRequestContent Content { get; set; } = default!;
public DateTime? Time { get; set; }