Try different JSON format
parent
a20a2e4292
commit
c1a48e7b48
|
|
@ -333,7 +333,8 @@ function loadTokens() {
|
||||||
*/
|
*/
|
||||||
function saveTokens() {
|
function saveTokens() {
|
||||||
Util.showModal('Saving...');
|
Util.showModal('Saving...');
|
||||||
Puck.write(`\x10require('Storage').write(${JSON.stringify('authentiwatch.json')},${JSON.stringify(tokens)})\n`,()=>{
|
let save={data:tokens,count:tokens.length};
|
||||||
|
Puck.write(`\x10require('Storage').write(${JSON.stringify('authentiwatch.json')},${JSON.stringify(save)})\n`,()=>{
|
||||||
Util.hideModal();
|
Util.hideModal();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue