Skip to content

Commit

Permalink
update linter
Browse files Browse the repository at this point in the history
  • Loading branch information
HendryZheng committed Feb 22, 2022
1 parent 5deb6f2 commit f05add3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion examples/with_async/disbursement.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
1 change: 0 additions & 1 deletion src/disbursement/disburse.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ function createBatch(data) {
this.opts.secretKey,
data.xIdempotencyKey,
);

if (data && data.forUserID) {
headers['for-user-id'] = data.forUserID;
}
Expand Down

0 comments on commit f05add3

Please sign in to comment.