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
cb8024d5
Commit
cb8024d5
authored
Mar 08, 2021
by
Hugo
Browse files
stopped d-4
parent
d66849b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/index.js
View file @
cb8024d5
...
...
@@ -53,6 +53,8 @@ async function start(fields, cozyParameters) {
try
{
// resetting data for demo only
// await resetData()
// const baseUrl = fields.eglBaseURL
// const apiAuthKey = fields.eglAPIAuthKey
const
baseUrl
=
cozyParameters
.
secret
.
eglBaseURL
const
apiAuthKey
=
cozyParameters
.
secret
.
eglAPIAuthKey
log
(
'
info
'
,
'
Authenticating ...
'
)
...
...
@@ -254,7 +256,6 @@ function format(response) {
type
:
value
.
TypeAgregat
}
}
else
{
log
(
'
info
'
,
'
end of data - date is :
'
+
value
.
DateReleve
)
return
{
load
:
null
,
year
:
parseInt
(
time
.
format
(
'
YYYY
'
)),
...
...
@@ -266,7 +267,8 @@ function format(response) {
}
}
})
return
mapData
const
res
=
[...
mapData
].
filter
(
v
=>
v
.
load
!==
null
)
return
res
}
// function processYearAggregation(data, doctype) {
...
...
Hugo NOUTS
@hnouts
mentioned in commit
e9a3a874
·
Mar 08, 2021
mentioned in commit
e9a3a874
mentioned in commit e9a3a874bc22a25b863cea39c2310f760b113538
Toggle commit list
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