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([