From f05add30efee016fbeeb24aec98de50aee7e5867 Mon Sep 17 00:00:00 2001 From: Hendry Zheng Date: Tue, 22 Feb 2022 16:59:57 +0700 Subject: [PATCH] update linter --- examples/with_async/disbursement.js | 2 +- src/disbursement/disburse.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/with_async/disbursement.js b/examples/with_async/disbursement.js index 4bc6ad9..84c9679 100644 --- a/examples/with_async/disbursement.js +++ b/examples/with_async/disbursement.js @@ -26,7 +26,7 @@ const d = new Disbursement({}); accountNumber: '1234567890', description: `purchase paid from ${banks[0].name}`, amount: 10000, - forUserID: 'qwie@#' + forUserID: 'for-user-id-test', }); // eslint-disable-next-line no-console console.log('disbursement created:', disb); diff --git a/src/disbursement/disburse.js b/src/disbursement/disburse.js index ffc905e..cb60a68 100644 --- a/src/disbursement/disburse.js +++ b/src/disbursement/disburse.js @@ -63,7 +63,6 @@ function createBatch(data) { this.opts.secretKey, data.xIdempotencyKey, ); - if (data && data.forUserID) { headers['for-user-id'] = data.forUserID; }