update flashOn

This commit is contained in:
alexmorenograu 2021-08-06 09:17:48 +02:00
parent 92581b0d81
commit 7d7088853e
1 changed files with 3 additions and 2 deletions

View File

@ -30,9 +30,9 @@ function insertFlash(qrySql) {
const {body} = await got.post('http://app.etiquetaselectronicas.com:9999/led/excuteLed', { // eslint-disable-line
json: {
storeId: config.storeId,
lightColor: 8,
lightCololr: 8,
lightTime: 30,
targetExecution: qrySql.shelvingFk + '/tagWithTicket',
targetExecution: qrySql[0].shelvingFk + qrySql[0].level + '/tagWithTicket',
lightFrequency: 1
},
responseType: 'json',
@ -40,6 +40,7 @@ function insertFlash(qrySql) {
'Authorization': key
}
});
console.log(qrySql[0].shelvingFk + qrySql[0].level);
console.log(body);
})();
})();