Skip to content
This repository was archived by the owner on Dec 10, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions helper/apicaller.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down