From ca6b1e74d085781cd74602f1437a0687128a52f6 Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Tue, 15 Oct 2024 09:43:34 +0700 Subject: [PATCH] feat: add metadata --- src/controllers/05-quotation-controller.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/controllers/05-quotation-controller.ts b/src/controllers/05-quotation-controller.ts index f27db62..5d4ba70 100644 --- a/src/controllers/05-quotation-controller.ts +++ b/src/controllers/05-quotation-controller.ts @@ -208,6 +208,8 @@ export class QuotationController extends Controller { }, }, paySplit: true, + createdBy: true, + updatedBy: true, }, take: pageSize, skip: (page - 1) * pageSize, @@ -255,6 +257,8 @@ export class QuotationController extends Controller { }, }, paySplit: true, + createdBy: true, + updatedBy: true, }, where: { id: quotationId }, });