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 | ea8d82143c07afb38767d6afb4be0031452495fb (patch) | |
tree | 459d6c9131122c87a870ad18ff2ac297481beb46 /Timeline/Models | |
parent | 976d6158e67e79e9d6d7e140f5749aa6630d0fb6 (diff) | |
download | timeline-ea8d82143c07afb38767d6afb4be0031452495fb.tar.gz timeline-ea8d82143c07afb38767d6afb4be0031452495fb.tar.bz2 timeline-ea8d82143c07afb38767d6afb4be0031452495fb.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; }
|