Browse Source

Fix cms kit automapper exception

pull/16655/head
Salih 3 years ago
parent
commit
f67a40d2fd
  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