From 490f97f0fdfc35e4ad3f00ab3f4e439ca0736734 Mon Sep 17 00:00:00 2001 From: Mohamad Ihsan Date: Tue, 1 Nov 2022 19:16:59 +0700 Subject: [PATCH] update reservation --- application/modules/reservebalance/reservebalance.controller.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/modules/reservebalance/reservebalance.controller.js b/application/modules/reservebalance/reservebalance.controller.js index a922afe..d794287 100644 --- a/application/modules/reservebalance/reservebalance.controller.js +++ b/application/modules/reservebalance/reservebalance.controller.js @@ -609,7 +609,7 @@ const reservation = async (req, res) => { let getCheckByCardProductStatusValue = await model.getCheckByCardProductStatusValue(); let checkByCardProductStatusValue = - getCheckByCardProductStatusValue.c_value; + getCheckByCardProductStatusValue?.c_value; if (checkByCardProductStatusValue == "A") { // log debug