aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Models/Http/TimelineController.cs
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-01-07 16:36:57 +0800
committerGitHub <noreply@github.com>2021-01-07 16:36:57 +0800
commitd3c9d0a9335ac6df3e330172b1b1a8a219cbdbaf (patch)
treebb99d1a24fffc9c4142219b9c25dc66e3d2b60d2 /BackEnd/Timeline/Models/Http/TimelineController.cs
parent79b597f5163619f8620e60c02e3ff33894ac29d4 (diff)
parent7594a16e38304739487b053405153379faee6e58 (diff)
downloadtimeline-d3c9d0a9335ac6df3e330172b1b1a8a219cbdbaf.tar.gz
timeline-d3c9d0a9335ac6df3e330172b1b1a8a219cbdbaf.tar.bz2
timeline-d3c9d0a9335ac6df3e330172b1b1a8a219cbdbaf.zip
Merge pull request #198 from crupest/back-dev
Refactor back end.
Diffstat (limited to 'BackEnd/Timeline/Models/Http/TimelineController.cs')
-rw-r--r--BackEnd/Timeline/Models/Http/TimelineController.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/BackEnd/Timeline/Models/Http/TimelineController.cs b/BackEnd/Timeline/Models/Http/TimelineController.cs
index 42a926fd..f6039b35 100644
--- a/BackEnd/Timeline/Models/Http/TimelineController.cs
+++ b/BackEnd/Timeline/Models/Http/TimelineController.cs
@@ -2,6 +2,7 @@
using System;
using System.ComponentModel.DataAnnotations;
using Timeline.Models.Validation;
+using Timeline.Services;
namespace Timeline.Models.Http
{
@@ -96,7 +97,7 @@ namespace Timeline.Models.Http
{
public HttpTimelineControllerAutoMapperProfile()
{
- CreateMap<HttpTimelinePatchRequest, TimelineChangePropertyRequest>();
+ CreateMap<HttpTimelinePatchRequest, TimelineChangePropertyParams>();
}
}
}