sleepphasealarm

use readStorage instead of readStorageFile
pull/1769/head
Erik Andresen 2022-04-28 11:45:13 +02:00
parent 4a9bc7e128
commit 8636dc9ce8
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ function getData() {
// show loading window
Util.showModal("Loading...");
// get the data
Util.readStorageFile('sleepphasealarm.json',data=>{
Util.readStorage('sleepphasealarm.json',data=>{
let logs = JSON.parse(data || "{}")?.logs || [];
// remove window
Util.hideModal();