aboutsummaryrefslogtreecommitdiff
path: root/Timeline/Models/Http
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-11-09 23:44:20 +0800
committer杨宇千 <crupest@outlook.com>2019-11-09 23:44:20 +0800
commitcc59e67f948d206a8bc466ed116d1bb870d3fb7b (patch)
tree459d6c9131122c87a870ad18ff2ac297481beb46 /Timeline/Models/Http
parente1757f98c0f5a337f1b5c44ef1638210a59f2811 (diff)
downloadtimeline-cc59e67f948d206a8bc466ed116d1bb870d3fb7b.tar.gz
timeline-cc59e67f948d206a8bc466ed116d1bb870d3fb7b.tar.bz2
timeline-cc59e67f948d206a8bc466ed116d1bb870d3fb7b.zip
Add PersonalTimelineController PostOperationCreate unit tests.
Diffstat (limited to 'Timeline/Models/Http')
-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 f676afa0..06b88ad1 100644
--- a/Timeline/Models/Http/Timeline.cs
+++ b/Timeline/Models/Http/Timeline.cs
@@ -9,7 +9,7 @@ namespace Timeline.Models.Http
{
public class TimelinePostCreateRequest
{
- [Required(AllowEmptyStrings = false)]
+ [Required(AllowEmptyStrings = true)]
public string Content { get; set; } = default!;
public DateTime? Time { get; set; }