asd
This commit is contained in:
parent
8579a05ed7
commit
f0a9b6894f
|
@ -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: [{
|
||||
|
|
Reference in New Issue