From 89288b1ed6b31159d8f5562bdbbfe14f8105b269 Mon Sep 17 00:00:00 2001 From: Adhidarma Hadiwinoto <gua@adhisimon.org> Date: Tue, 12 Sep 2017 17:49:25 +0700 Subject: [PATCH] coba aktifkan kembali resendDelay --- partner-komodo.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/partner-komodo.js b/partner-komodo.js index 04c31dd..bf50038 100644 --- a/partner-komodo.js +++ b/partner-komodo.js @@ -60,8 +60,7 @@ function start(options) { function callbackReport(requestId, rc, message, options) { aaa.callbackReportWithPushToMongoDb(requestId, rc, message); - /* - if (!options.task) { + if (!options || !options.task) { return; } @@ -70,8 +69,6 @@ function callbackReport(requestId, rc, message, options) { } else { resendDelay.cancel(options.task) } - */ - } function topupRequest(task, pendingOnConnectError) { -- 1.9.0