Commit da771fe2 authored by Yoan VALLET's avatar Yoan VALLET
Browse files

add logs for debug

parent 75a79af0
......@@ -135,7 +135,7 @@ async function getData(token, idPCE) {
*/
async function getActualDailyLoadData() {
log('debug', 'Retrieve previous daily data')
const result = await cozyClient.data.findAll('com.grandlyon.grdf.day')
const result = await cozyClient.data.queryAll('com.grandlyon.grdf.day')
if (result && result.length > 0) {
log("debug", "RESULT FOUND")
log("debug", result)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment