From 29981e9757ca3ba8ed67f8c8f46d29d37b0a7dc8 Mon Sep 17 00:00:00 2001 From: Mohamad Ihsan Date: Wed, 11 Oct 2023 13:27:03 +0700 Subject: [PATCH] update --- application/modules/hsm/authenticate1.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/application/modules/hsm/authenticate1.js b/application/modules/hsm/authenticate1.js index b5277fd..a49bcd4 100644 --- a/application/modules/hsm/authenticate1.js +++ b/application/modules/hsm/authenticate1.js @@ -154,8 +154,6 @@ const controller = async (req, res) => { method: 'get', }); - console.log(response); - result = { code: '5001', message: 'Timeout', @@ -166,7 +164,9 @@ const controller = async (req, res) => { winston.logger.warn( `${uniqueCode} [ RESPONSE LOADING-BALANCE TOPUP-1 ]: ${JSON.stringify( result - )}` + )} and HSM refresh response status: ${response.status} | response text: ${ + response.statusText + }` ); return res.status(200).send(result);