Skip to content
Snippets Groups Projects
Commit 1e7a35f4 authored by build-token's avatar build-token
Browse files

publish: feat(TU): increase TU

generated from commit 9aa7d1ae
parent d7a5420b
No related branches found
No related tags found
No related merge requests found
......@@ -223066,7 +223066,7 @@ async function buildAgregatedData(data, doctype) {
let agregatedData = []
// eslint-disable-next-line no-unused-vars
for (let [key, value] of Object.entries(data)) {
const data = await buildDataFromKey(doctype, key, value)
const data = buildDataFromKey(doctype, key, value)
const oldValue = await resetInProgressAggregatedData(data, doctype)
data.load += oldValue
agregatedData.push(data)
......@@ -223080,7 +223080,7 @@ async function buildAgregatedData(data, doctype) {
* For year doctype: key = "YYYY"
* For month doctype: key = "YYYY-MM"
*/
async function buildDataFromKey(doctype, key, value) {
function buildDataFromKey(doctype, key, value) {
let year, month, day, hour
if (doctype === 'com.grandlyon.enedis.year') {
year = key
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment