diff --git a/src/ReC.Application/Common/Dto/DtoMappingProfile.cs b/src/ReC.Application/Common/Dto/DtoMappingProfile.cs index 3902ae6..5888aa4 100644 --- a/src/ReC.Application/Common/Dto/DtoMappingProfile.cs +++ b/src/ReC.Application/Common/Dto/DtoMappingProfile.cs @@ -8,9 +8,9 @@ public class DtoMappingProfile : AutoMapper.Profile { CreateMap() .ForMember(dest => dest.PreprocessingQuery, opt => opt.MapFrom((src, _) => - src.PreprocessingQuery?.ReplacePlaceholders(src, src.Profile))) + src.PreprocessingQuery?.ReplacePlaceholders(src))) .ForMember(dest => dest.PostprocessingQuery, opt => opt.MapFrom((src, _) => - src.PostprocessingQuery?.ReplacePlaceholders(src, src.Profile))); + src.PostprocessingQuery?.ReplacePlaceholders(src))); CreateMap(); CreateMap();