From 7e709bf5bc514eda87f9ea87b703d1f6cbb3662a Mon Sep 17 00:00:00 2001 From: crupest Date: Tue, 1 Jun 2021 23:22:47 +0800 Subject: feat: Add ways to reset timeline or post color. --- BackEnd/Timeline/Models/Http/HttpTimelinePostPatchRequest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'BackEnd/Timeline/Models/Http/HttpTimelinePostPatchRequest.cs') 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 /// /// Change the color. Null for not change. /// - [Color] + [Color(PermitEmpty = true, PermitDefault = true)] public string? Color { get; set; } } } -- cgit v1.2.3