refactor: remove unnecessary variable
This commit is contained in:
parent
64a305f3b5
commit
418bd9b649
1 changed files with 2 additions and 2 deletions
|
|
@ -57,8 +57,8 @@ function postProcess (txVector, justAuthorized, pi) {
|
|||
|
||||
if ((newTx.dispense && !oldTx.dispense) || (newTx.redeem && !oldTx.redeem)) {
|
||||
return pi.buildAvailableUnits(newTx.id)
|
||||
.then(_units => {
|
||||
const units = _.concat(_units.cassettes, _units.recyclers)
|
||||
.then(units => {
|
||||
units = _.concat(units.cassettes, units.recyclers)
|
||||
logger.silly('Computing bills to dispense:', {
|
||||
txId: newTx.id,
|
||||
units: units,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue