aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Services
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-02-11 22:21:12 +0800
committercrupest <crupest@outlook.com>2021-02-11 22:21:12 +0800
commitb5376f71157f68f06aa04bde79389f9ab291d84a (patch)
tree369d3a89588e752983a26baff9c225ce43ad3ef8 /BackEnd/Timeline/Services
parentd1317bd9fe08a933a13df88ba692343cde549123 (diff)
downloadtimeline-b5376f71157f68f06aa04bde79389f9ab291d84a.tar.gz
timeline-b5376f71157f68f06aa04bde79389f9ab291d84a.tar.bz2
timeline-b5376f71157f68f06aa04bde79389f9ab291d84a.zip
...
Diffstat (limited to 'BackEnd/Timeline/Services')
-rw-r--r--BackEnd/Timeline/Services/TimelinePostService.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/BackEnd/Timeline/Services/TimelinePostService.cs b/BackEnd/Timeline/Services/TimelinePostService.cs
index 8afd0770..62bc43cc 100644
--- a/BackEnd/Timeline/Services/TimelinePostService.cs
+++ b/BackEnd/Timeline/Services/TimelinePostService.cs
@@ -1,6 +1,5 @@
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Logging;
-using SixLabors.ImageSharp;
using System;
using System.Collections.Generic;
using System.Linq;
@@ -12,7 +11,6 @@ using Timeline.Helpers.Cache;
using Timeline.Models;
using Timeline.Models.Validation;
using Timeline.Services.Exceptions;
-using static Timeline.Resources.Services.TimelineService;
namespace Timeline.Services
{
@@ -37,7 +35,9 @@ namespace Timeline.Services
/// <summary>If not set, current time is used.</summary>
public DateTime? Time { get; set; }
+#pragma warning disable CA2227
public List<TimelinePostCreateRequestData> DataList { get; set; } = new List<TimelinePostCreateRequestData>();
+#pragma warning restore CA2227
}
public class TimelinePostPatchRequest