aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Models/Http/HttpTimelinePostPatchRequest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'BackEnd/Timeline/Models/Http/HttpTimelinePostPatchRequest.cs')
-rw-r--r--BackEnd/Timeline/Models/Http/HttpTimelinePostPatchRequest.cs2
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; }
}
}