diff options
author | crupest <crupest@outlook.com> | 2021-06-01 23:22:47 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-06-01 23:22:47 +0800 |
commit | 7e709bf5bc514eda87f9ea87b703d1f6cbb3662a (patch) | |
tree | 718ad2cc37a66a65c564dbfcc71b218e93ad33d2 /BackEnd/Timeline/Models/Http/HttpTimelinePostPatchRequest.cs | |
parent | 5ead84a292481b43f44ae3d044193901045ce092 (diff) | |
download | timeline-7e709bf5bc514eda87f9ea87b703d1f6cbb3662a.tar.gz timeline-7e709bf5bc514eda87f9ea87b703d1f6cbb3662a.tar.bz2 timeline-7e709bf5bc514eda87f9ea87b703d1f6cbb3662a.zip |
feat: Add ways to reset timeline or post color.
Diffstat (limited to 'BackEnd/Timeline/Models/Http/HttpTimelinePostPatchRequest.cs')
-rw-r--r-- | BackEnd/Timeline/Models/Http/HttpTimelinePostPatchRequest.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BackEnd/Timeline/Models/Http/HttpTimelinePostPatchRequest.cs b/BackEnd/Timeline/Models/Http/HttpTimelinePostPatchRequest.cs index 2c6edf66..cb576a74 100644 --- a/BackEnd/Timeline/Models/Http/HttpTimelinePostPatchRequest.cs +++ b/BackEnd/Timeline/Models/Http/HttpTimelinePostPatchRequest.cs @@ -13,7 +13,7 @@ namespace Timeline.Models.Http /// <summary>
/// Change the color. Null for not change.
/// </summary>
- [Color]
+ [Color(PermitEmpty = true, PermitDefault = true)]
public string? Color { get; set; }
}
}
|