aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Models/Http/HttpTimelinePatchRequest.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-06-02 22:02:32 +0800
committerGitHub <noreply@github.com>2021-06-02 22:02:32 +0800
commit125c77d974c90b547ec3f89e71ad6420f1668fd3 (patch)
tree7d42d50306047b53853edbcbc131b95f42aeef16 /BackEnd/Timeline/Models/Http/HttpTimelinePatchRequest.cs
parent9060b1e463b5928d7d0e412fbd4cd7178e131bd4 (diff)
parent0f0b189043b18b951c1aca0174b189bd4ae4cd08 (diff)
downloadtimeline-125c77d974c90b547ec3f89e71ad6420f1668fd3.tar.gz
timeline-125c77d974c90b547ec3f89e71ad6420f1668fd3.tar.bz2
timeline-125c77d974c90b547ec3f89e71ad6420f1668fd3.zip
Merge pull request #587 from crupest/default-color
Add patch default color api.
Diffstat (limited to 'BackEnd/Timeline/Models/Http/HttpTimelinePatchRequest.cs')
-rw-r--r--BackEnd/Timeline/Models/Http/HttpTimelinePatchRequest.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/BackEnd/Timeline/Models/Http/HttpTimelinePatchRequest.cs b/BackEnd/Timeline/Models/Http/HttpTimelinePatchRequest.cs
index 9accb6fc..35667af2 100644
--- a/BackEnd/Timeline/Models/Http/HttpTimelinePatchRequest.cs
+++ b/BackEnd/Timeline/Models/Http/HttpTimelinePatchRequest.cs
@@ -31,7 +31,7 @@ namespace Timeline.Models.Http
/// <summary>
/// New color. Null for not change.
/// </summary>
- [Color]
+ [Color(PermitDefault = true, PermitEmpty = true)]
public string? Color { get; set; }
}
}