From 08b18564bb1c477b01384cb93d62f98cfcb83f48 Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 10 Mar 2020 16:19:28 +0800 Subject: ... --- Timeline/Models/Http/TimelineController.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'Timeline/Models/Http') 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; } -- cgit v1.2.3