From 8d25dda326b26d4347e53fa17bedcfd5265a4b9c Mon Sep 17 00:00:00 2001 From: Kanjana Date: Mon, 7 Jul 2025 13:50:28 +0700 Subject: [PATCH] feat: change where sellerId --- src/controllers/05-quotation-controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/05-quotation-controller.ts b/src/controllers/05-quotation-controller.ts index 4e6dc05..5a375e5 100644 --- a/src/controllers/05-quotation-controller.ts +++ b/src/controllers/05-quotation-controller.ts @@ -264,7 +264,7 @@ export class QuotationController extends Controller { } : undefined, ...whereDateQuery(startDate, endDate), - sellerId: sellerId ? sellerId : null, + sellerId: sellerId, } satisfies Prisma.QuotationWhereInput; const [result, total] = await prisma.$transaction([