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
parent
commit
105dbcdc1f
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      modules/cms-kit/src/Volo.CmsKit.Public.Web/CmsKitPublicWebAutoMapperProfile.cs

4
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);
}
}

Loading…
Cancel
Save