fix: remove duplicated createBatch() calls
fix: rename cassetteMaxCapacity to snake uppercase fix: notification module retrieving the wrong override fields
This commit is contained in:
parent
31dcf890de
commit
15e0182ba1
7 changed files with 19 additions and 39 deletions
|
|
@ -6,7 +6,7 @@ function getMachine (machineId) {
|
|||
.then(machines => machines.find(({ deviceId }) => deviceId === machineId))
|
||||
}
|
||||
|
||||
function machineAction ({ deviceId, action, cashbox, cassette1, cassette2, cassette3, cassette4, newName }) {
|
||||
function machineAction ({ deviceId, action, cashbox, cassette1, cassette2, cassette3, cassette4, newName }, context) {
|
||||
const operatorId = context.res.locals.operatorId
|
||||
return getMachine(deviceId)
|
||||
.then(machine => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue