diff options
author | 杨宇千 <crupest@outlook.com> | 2019-11-09 23:44:20 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-11-09 23:44:20 +0800 |
commit | cc59e67f948d206a8bc466ed116d1bb870d3fb7b (patch) | |
tree | 459d6c9131122c87a870ad18ff2ac297481beb46 /Timeline/Models | |
parent | e1757f98c0f5a337f1b5c44ef1638210a59f2811 (diff) | |
download | timeline-cc59e67f948d206a8bc466ed116d1bb870d3fb7b.tar.gz timeline-cc59e67f948d206a8bc466ed116d1bb870d3fb7b.tar.bz2 timeline-cc59e67f948d206a8bc466ed116d1bb870d3fb7b.zip |
Add PersonalTimelineController PostOperationCreate unit tests.
Diffstat (limited to 'Timeline/Models')
-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 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; }
|