refactor: declutter unnecessary variables
This commit is contained in:
parent
104f9061f9
commit
ef3ba710ff
1 changed files with 2 additions and 2 deletions
|
|
@ -236,8 +236,8 @@ function plugins (settings, deviceId) {
|
||||||
if (!cashOutConfig.active) return Promise.resolve()
|
if (!cashOutConfig.active) return Promise.resolve()
|
||||||
|
|
||||||
return Promise.all([dbm.recyclerCounts(deviceId), cashOutHelper.redeemableTxs(deviceId, excludeTxId)])
|
return Promise.all([dbm.recyclerCounts(deviceId), cashOutHelper.redeemableTxs(deviceId, excludeTxId)])
|
||||||
.then(([{ counts, numberOfRecyclers }, _redeemableTxs]) => {
|
.then(([{ counts, numberOfRecyclers }, redeemableTxs]) => {
|
||||||
const redeemableTxs = _.reject(_.matchesProperty('id', excludeTxId), _redeemableTxs)
|
redeemableTxs = _.reject(_.matchesProperty('id', excludeTxId), redeemableTxs)
|
||||||
|
|
||||||
const denominations = []
|
const denominations = []
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue