From 29fa2996c1e2d1f97efd3f5bb3c034797f512cc8 Mon Sep 17 00:00:00 2001 From: Rumble Huang Date: Thu, 8 Jul 2021 11:06:04 +0800 Subject: [PATCH] Fix typo in apicaller.js --- helper/apicaller.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helper/apicaller.js b/helper/apicaller.js index 083b9ce..b007e3d 100644 --- a/helper/apicaller.js +++ b/helper/apicaller.js @@ -81,8 +81,8 @@ module.exports.makeRequest = async function (targetID, method, api, params, post const apiCodeObj = await apicode.getAPICode(targetID).catch(() => { }); if (!apiCodeObj) { - console.log(`unable to find api code/secret of wallet_id ${walletID}`); - return { error: `unable to find api code/secret of wallet_id ${walletID}` }; + console.log(`unable to find api code/secret of wallet_id ${targetID}`); + return { error: `unable to find api code/secret of wallet_id ${targetID}` }; } const options = { method,