#6276 createNewWarehouse methods migrated from silex to salix #1850
|
@ -49,7 +49,7 @@ module.exports = Self => {
|
|||
]
|
||||
}
|
||||
}, myOptions);
|
||||
console.log(isRegistered);
|
||||
|
||||
if (!isRegistered) await models.MachineWorker.create({machineFk: machine.id, workerFk: userId}, myOptions);
|
||||
else {
|
||||
await models.MachineWorker.updateAll(
|
||||
|
|
Loading…
Reference in New Issue