1
0
Vork 0
kopie van https://github.com/sensebox/opensensmapr gesynchroniseerd 2026-04-26 10:07:52 +02:00

fix archive 404 handling

Deze commit is opgenomen in:
Norwin 2018-10-18 17:07:20 +02:00
bovenliggende 33a9c42e54
commit abcfbf5910

Bestand weergeven

@ -97,7 +97,7 @@ archive_fetch_measurements = function (box, sensor, fromDate, toDate, progress)
))
if (httr::status_code(res) == 404)
return(as.data.frame)
return(data.frame(createdAt = character(), value = character()))
}
measurements = httr::content(res, type = 'text', encoding = 'UTF-8') %>%