From eb41d529c72d6e389cd10092fdd9782552fef190 Mon Sep 17 00:00:00 2001 From: AdisakKanthawilang Date: Mon, 20 May 2024 13:17:11 +0700 Subject: [PATCH] fix --- src/controllers/StrategyController.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/controllers/StrategyController.ts b/src/controllers/StrategyController.ts index 1ab6468..5d815e1 100644 --- a/src/controllers/StrategyController.ts +++ b/src/controllers/StrategyController.ts @@ -64,9 +64,9 @@ export class StrategyController extends Controller { order: { createdAt: "ASC" }, }); - if (!listStrategyChild1 || listStrategyChild1.length === 0) { - throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบข้อมูลยุทธศาสตร์"); - } + // if (!listStrategyChild1 || listStrategyChild1.length === 0) { + // throw new HttpError(HttpStatus.NOT_FOUND, "ไม่พบข้อมูลยุทธศาสตร์"); + // } const formattedData = listStrategyChild1.map((item) => ({ id: item.id,