Skip to content
Snippets Groups Projects
Commit 368ebc6a authored by Yoan VALLET's avatar Yoan VALLET
Browse files

change queryAll by findAll

parent 2e796dac
No related branches found
No related tags found
No related merge requests found
......@@ -135,7 +135,7 @@ async function getData(token, idPCE) {
*/
async function getActualDailyLoadData() {
log('debug', 'Retrieve previous daily data')
const result = await cozyClient.data.queryAll('com.grandlyon.grdf.day')
const result = await cozyClient.data.findAll('com.grandlyon.grdf.day')
if (result && result.length > 0) {
log("debug", "RESULT FOUND")
log("debug", result)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment