diff --git a/src/BackOffice.BFF.Application/DiscountProductCQ/Queries/GetDiscountProducts/GetDiscountProductsQueryHandler.cs b/src/BackOffice.BFF.Application/DiscountProductCQ/Queries/GetDiscountProducts/GetDiscountProductsQueryHandler.cs index 3c1f95c..23938ab 100644 --- a/src/BackOffice.BFF.Application/DiscountProductCQ/Queries/GetDiscountProducts/GetDiscountProductsQueryHandler.cs +++ b/src/BackOffice.BFF.Application/DiscountProductCQ/Queries/GetDiscountProducts/GetDiscountProductsQueryHandler.cs @@ -41,7 +41,7 @@ public class GetDiscountProductsQueryHandler : IRequestHandler new DiscountProductDto + } : new MetaData(), + Products = response.Models?.Select(p => new DiscountProductDto { Id = p.Id, Title = p.Title, @@ -62,8 +62,8 @@ public class GetDiscountProductsQueryHandler : IRequestHandler() }; } }