function insertTicket(consultaSql, shelving){ const config = require('./config'); const got = require('got'); (async() => { const info = await config.info let key = info.data.token let currentUser = info.data.currentUser; (async() => { for(var i=0;i