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
commit88232f85e69a5e4b390e73344b31372746d4adca (patch)
treec4d4950a726648c5341efc7b61d440ed6f8bc9af /Timeline/Models
parent3267e698c644ec638af42b782b6848dc27467f8b (diff)
downloadtimeline-88232f85e69a5e4b390e73344b31372746d4adca.tar.gz
timeline-88232f85e69a5e4b390e73344b31372746d4adca.tar.bz2
timeline-88232f85e69a5e4b390e73344b31372746d4adca.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; }