Skip to content
Snippets Groups Projects
Commit c4b1a1ee authored by Bastien DUMONT's avatar Bastien DUMONT :angel:
Browse files

add types

parent 72d4cb6f
No related branches found
No related tags found
1 merge request!322.0 Release
Pipeline #98410 passed
......@@ -158,6 +158,12 @@ function buildGetDataUrl(idPCE, startDate, endDate) {
return `${baseUrl}/${idPCE}/donnees_consos_informatives?${queryParams}`
}
/**
* @param {string} token
* @param {string} idPCE
* @param {string} startDate 'YYYY-MM-DD'
* @param {string} endDate 'YYYY-MM-DD'
*/
async function getData(token, idPCE, startDate, endDate) {
log('debug', `getData from ${startDate} to ${endDate}`)
const url = buildGetDataUrl(idPCE, startDate, endDate)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment