diff options
author | crupest <crupest@outlook.com> | 2021-01-07 16:23:20 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2021-01-07 16:23:20 +0800 |
commit | df1ef1e21d8d889a2c9abd440039533c6a43818f (patch) | |
tree | c483a2fff48ad952e787e5af1bb541d939a09f19 /BackEnd/Timeline/Models/Http/TimelineController.cs | |
parent | 9470631c67c4740982ff2d8a16cbbb86fdd34609 (diff) | |
download | timeline-df1ef1e21d8d889a2c9abd440039533c6a43818f.tar.gz timeline-df1ef1e21d8d889a2c9abd440039533c6a43818f.tar.bz2 timeline-df1ef1e21d8d889a2c9abd440039533c6a43818f.zip |
史诗级重构!
Diffstat (limited to 'BackEnd/Timeline/Models/Http/TimelineController.cs')
-rw-r--r-- | BackEnd/Timeline/Models/Http/TimelineController.cs | 3 |
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>();
}
}
}
|