From 77baf395ce31e87fc40a89ea31f335430729b356 Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 30 Mar 2026 14:32:31 +0200 Subject: [PATCH] Update ReplacePlaceholders mapping to use single argument Removed src.Profile from ReplacePlaceholders calls in DtoMappingProfile for PreprocessingQuery and PostprocessingQuery mappings, now passing only src as the argument. This simplifies the mapping logic and aligns with the updated method signature. --- src/ReC.Application/Common/Dto/DtoMappingProfile.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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();