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 | bd9dacf0566ca542ecab913acbc244f474c6a752 (patch) | |
tree | cfdef1f4ff79be1fca38ef4bf15b06a102279276 /BackEnd/Timeline/Models/Http/HttpTimelinePostPatchRequest.cs | |
parent | a3f8daad1706697c6106045f271b74fd241ddcb3 (diff) | |
download | timeline-bd9dacf0566ca542ecab913acbc244f474c6a752.tar.gz timeline-bd9dacf0566ca542ecab913acbc244f474c6a752.tar.bz2 timeline-bd9dacf0566ca542ecab913acbc244f474c6a752.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; }
}
}
|