From edc1f35e8b10229a02c8f3ea35a688b3710f481c Mon Sep 17 00:00:00 2001 From: Mohamad Ihsan Date: Fri, 25 Aug 2023 10:54:11 +0700 Subject: [PATCH] update --- application/modules/hsm/authenticate2.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/application/modules/hsm/authenticate2.js b/application/modules/hsm/authenticate2.js index 5a4aaf2..5ea8681 100644 --- a/application/modules/hsm/authenticate2.js +++ b/application/modules/hsm/authenticate2.js @@ -86,6 +86,9 @@ const controller = async (req, res) => { useClient.sendData(reqData); + let respData = null; + let respData1 = null; + setInterval(function () { respData = Buffer.from([0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00]); _timeOut = true;