mirror of https://github.com/espruino/BangleApps
Fix cards download
parent
18686d5ff5
commit
d469765f36
|
@ -39,7 +39,7 @@
|
|||
headers: { "Content-Type": "application/json" }
|
||||
}).then(data=>{
|
||||
var cardsJSON = JSON.parse(data.resp);
|
||||
storage.write(dataFile, JSON.stringify(result));
|
||||
storage.write(dataFile, JSON.stringify(cardsJSON));
|
||||
E.showMessage('i: downloaded');
|
||||
})
|
||||
.catch((e) => {
|
||||
|
|
Loading…
Reference in New Issue