fleetmap-reports 2.0.87 → 2.0.89
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/util/utils.js +1 -1
package/package.json
CHANGED
package/src/util/utils.js
CHANGED
|
@@ -233,7 +233,7 @@ function weekDaySelected (date, weekDays) {
|
|
|
233
233
|
async function executeServerSide (type, sliced, from, to, userData, totalItems, { axios }, maxRequests = 10) {
|
|
234
234
|
let itemsCount = 0
|
|
235
235
|
console.log('PROGRESS_PERC:1')
|
|
236
|
-
const cookie = await axios.get(
|
|
236
|
+
const cookie = await axios.get(`https://${getServerHost()}/pinmeapi/cookie/get`, { withCredentials: true }).then(d => d.data)
|
|
237
237
|
const reportData = []
|
|
238
238
|
for (let i = 0; i < sliced.length; i += maxRequests) {
|
|
239
239
|
const _sliced = sliced.slice(i, i + maxRequests)
|