From f2ead327344fdacdf3fb1e761b4fb8ec89330f1e Mon Sep 17 00:00:00 2001 From: crupest Date: Mon, 25 Apr 2022 19:27:44 +0800 Subject: ... --- BackEnd/Timeline/Models/Http/HttpTimelinePost.cs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'BackEnd/Timeline/Models/Http/HttpTimelinePost.cs') diff --git a/BackEnd/Timeline/Models/Http/HttpTimelinePost.cs b/BackEnd/Timeline/Models/Http/HttpTimelinePost.cs index 5c6a7167..677c486f 100644 --- a/BackEnd/Timeline/Models/Http/HttpTimelinePost.cs +++ b/BackEnd/Timeline/Models/Http/HttpTimelinePost.cs @@ -1,4 +1,4 @@ -using System; +using System; using System.Collections.Generic; namespace Timeline.Models.Http @@ -21,8 +21,10 @@ namespace Timeline.Models.Http Color = color; LastUpdated = lastUpdated; TimelineOwnerV2 = timelineOwnerV2; - TimelineNameV2 = timelineNameV2; - TimelineName = timelineName; + TimelineNameV2 = timelineNameV2; +#pragma warning disable CS0618 // Type or member is obsolete + TimelineName = timelineName; +#pragma warning restore CS0618 // Type or member is obsolete Editable = editable; } @@ -67,6 +69,7 @@ namespace Timeline.Models.Http /// /// Timeline name. /// + [Obsolete("Use TimelineNameV2.")] public string TimelineName { get; set; } = default!; /// /// True if you can edit this post. -- cgit v1.2.3