From 59d0980262fc8aeb47efe13c554be7ca652353a1 Mon Sep 17 00:00:00 2001 From: Methapon Metanipat Date: Fri, 27 Sep 2024 13:52:38 +0700 Subject: [PATCH] chore: remove log --- src/controllers/04-product-controller.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/controllers/04-product-controller.ts b/src/controllers/04-product-controller.ts index db2f3ac..3f31cb5 100644 --- a/src/controllers/04-product-controller.ts +++ b/src/controllers/04-product-controller.ts @@ -220,7 +220,6 @@ export class ProductController extends Controller { if (!productGroup) throw relationError("Product Group"); - console.log(productSameName); if (productSameName.some((v) => v.code.slice(0, -3) === body.code.toUpperCase())) { throw new HttpError( HttpStatus.BAD_REQUEST,