Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
web-et-numerique
LLLE_Project
egl-konnector
Commits
9acff077
Commit
9acff077
authored
Feb 25, 2021
by
git-directory-deploy
Browse files
publish: a
generated from commit
6654b9fe
parent
7b81c2b0
Changes
1
Hide whitespace changes
Inline
Side-by-side
index.js
View file @
9acff077
...
...
@@ -231,11 +231,12 @@ async function agregateMonthAndYearData(data) {
* Return an Array of agregated data
*/
async function buildAgregatedData(data, doctype) {
log('info', 'entering buildAgregatedData')
let agregatedData = []
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)
)
log(
'info'
,
'
Dataload + oldvalue is
'
+ data.load +
'
+
'
+ oldValue)
data.load += oldValue
agregatedData.push(data)
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment