diff --git a/methods/bindShelvingTag.js b/methods/bindShelvingTag.js index 208d00a..eedcdc5 100644 --- a/methods/bindShelvingTag.js +++ b/methods/bindShelvingTag.js @@ -3,7 +3,7 @@ const got = require('got'); const filter = require('../utilities/filter'); const insertDB = require('../db/insertDB'); const express = require('express'); -const router = express.Router(); +const router = express.Router(); // eslint-disable-line router.get('/', async(req, res) => { // DATOS INTRODUCIDOS POR EL USUARIO @@ -46,7 +46,7 @@ function insertShelving(shelvingId) { let key = info.data.token; let currentUser = info.data.currentUser; (async() => { - const {body} = await got.post('http://app.etiquetaselectronicas.com:9999/item/batchImportItem', { + const {body} = await got.post('http://app.etiquetaselectronicas.com:9999/item/batchImportItem', { // eslint-disable-line json: { agencyId: currentUser.agencyId, merchantId: currentUser.merchantId, @@ -76,7 +76,7 @@ function bindShelving(barcode, shelvingId) { const info = await config.info; let key = info.data.token; (async() => { - const {body} = await got.post('http://app.etiquetaselectronicas.com:9999/bind/batchBind', { + const {body} = await got.post('http://app.etiquetaselectronicas.com:9999/bind/batchBind', { // eslint-disable-line json: { storeId: config.storeId, tagItemBinds: [{