diff --git a/index.js b/index.js index aead14219f6b1899b052e29212a86e4b9a2b6454..e9f1862995539bcd7fd2f4b94e94f412289639ea 100644 --- a/index.js +++ b/index.js @@ -235,6 +235,7 @@ async function buildAgregatedData(data, doctype) { for (let [key, value] of Object.entries(data)) { const data = await buildDataFromKey(doctype, key, value) const oldValue = await resetInProgressAggregatedData(data, doctype) + log("debug", "Dataload + oldvalue is " + data.load + " + " + oldValue + " -- makes dataload : " + (data.load += oldValue)) data.load += oldValue agregatedData.push(data) }