From 7e8c9b1b7c4cf44683862012caa0562d2f80c5c5 Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Thu, 3 Oct 2024 14:29:09 +0700 Subject: [PATCH] refactor: remove unnecessary join --- src/controllers/05-quotation-controller.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/controllers/05-quotation-controller.ts b/src/controllers/05-quotation-controller.ts index 7f375b9..6a5d700 100644 --- a/src/controllers/05-quotation-controller.ts +++ b/src/controllers/05-quotation-controller.ts @@ -184,14 +184,6 @@ export class QuotationController extends Controller { where, include: { customerBranch: true, - worker: true, - productServiceList: { - include: { - product: true, - work: true, - service: true, - }, - }, paySplit: true, }, }),