From 8366d9b38bdd7aae487a314c7f4e8a5b320be57c Mon Sep 17 00:00:00 2001 From: Mohamad Ihsan Date: Mon, 20 Feb 2023 22:42:35 +0700 Subject: [PATCH] update --- application/modules/loadbalance/loadbalance.controller.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/application/modules/loadbalance/loadbalance.controller.js b/application/modules/loadbalance/loadbalance.controller.js index c952615..837fd72 100644 --- a/application/modules/loadbalance/loadbalance.controller.js +++ b/application/modules/loadbalance/loadbalance.controller.js @@ -1121,6 +1121,8 @@ const loadingBalanceInsert = async (param) => { fraudReservationNumber ); + // log debug + winston.logger.debug(`${uniqueCode} XXX ${getReservationPending.length}`); if (getReservationPending.length < 1) { result = { code: '414', @@ -1144,6 +1146,8 @@ const loadingBalanceInsert = async (param) => { getReservationPending.forEach((rsv) => { amountTopup += parseInt(rsv.i_reservation_amount); }); + // log debug + winston.logger.debug(`${uniqueCode} XXX ${getReservationPending.length}`); if (amount != amountTopup) { result = { @@ -1252,7 +1256,7 @@ const loadingBalanceInsert = async (param) => { // log debug winston.logger.debug(`${uniqueCode} getting reservation detail...`); // log debug - winston.logger.debug(`${uniqueCode} ${getReservationPending.length}`); + winston.logger.debug(`${uniqueCode} XXX ${getReservationPending.length}`); let detail = []; reservation_number = [];