storeId correct
This commit is contained in:
parent
bd2fc454d6
commit
18d4208ade
|
@ -1,6 +1,7 @@
|
|||
const dataLogIn = require('../server');
|
||||
const got = require('got');
|
||||
const filter = require('../utilities/filter');
|
||||
const config = require('../config');
|
||||
const insertDB = require('../db/insertDB');
|
||||
const express = require('express');
|
||||
const router = express.Router(); // eslint-disable-line
|
||||
|
@ -74,7 +75,7 @@ function bindShelving(barcode, shelvingId) {
|
|||
(async() => {
|
||||
const {body} = await got.post('http://app.etiquetaselectronicas.com:9999/bind/batchBind', { // eslint-disable-line
|
||||
json: {
|
||||
storeId: dataLogIn.storeId,
|
||||
storeId: config.storeId,
|
||||
tagItemBinds: [{
|
||||
eslBarcode: barcode,
|
||||
itemBarcode: shelvingId
|
||||
|
@ -86,6 +87,7 @@ function bindShelving(barcode, shelvingId) {
|
|||
'Authorization': key
|
||||
}
|
||||
});
|
||||
console.log(body);
|
||||
})();
|
||||
})();
|
||||
}
|
||||
|
|
Reference in New Issue