Browse Source
Merge pull request #16655 from abpframework/salihozkara/cms-kit
Fix cms kit automapper exception
pull/16660/head
liangshiwei
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
modules/cms-kit/src/Volo.CmsKit.Public.Web/CmsKitPublicWebAutoMapperProfile.cs
|
|
|
@ -1,4 +1,5 @@ |
|
|
|
using AutoMapper; |
|
|
|
using Volo.Abp.AutoMapper; |
|
|
|
using Volo.CmsKit.Menus; |
|
|
|
using Volo.CmsKit.Public.Comments; |
|
|
|
|
|
|
|
@ -8,6 +9,7 @@ public class CmsKitPublicWebAutoMapperProfile : Profile |
|
|
|
{ |
|
|
|
public CmsKitPublicWebAutoMapperProfile() |
|
|
|
{ |
|
|
|
CreateMap<CreateCommentWithParametersInput, CreateCommentInput>(); |
|
|
|
CreateMap<CreateCommentWithParametersInput, CreateCommentInput>() |
|
|
|
.Ignore(x=> x.ExtraProperties); |
|
|
|
} |
|
|
|
} |
|
|
|
|