From 4f6dbfcd37528cc8035bf0310ae9c10f0bc08b24 Mon Sep 17 00:00:00 2001 From: Khwezi Mngoma Date: Sat, 30 May 2026 18:49:15 +0200 Subject: [PATCH] Redacted Product.Price mapping on filter --- LiteCharms.Features.MidrandBooks/Products/ProductService.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/LiteCharms.Features.MidrandBooks/Products/ProductService.cs b/LiteCharms.Features.MidrandBooks/Products/ProductService.cs index d971623..15be23c 100644 --- a/LiteCharms.Features.MidrandBooks/Products/ProductService.cs +++ b/LiteCharms.Features.MidrandBooks/Products/ProductService.cs @@ -153,9 +153,7 @@ public sealed class ProductService(IDbContextFactory cont { await using var context = await contextFactory.CreateDbContextAsync(cancellationToken); - var query = context.Products - .Include(i => i.Price) - .AsQueryable(); + var query = context.Products.AsQueryable(); var cultureInfo = CultureInfo.InvariantCulture;