Rename variable
parent
f127bef66b
commit
51c91bf9ee
|
|
@ -322,8 +322,8 @@ function loadTokens() {
|
||||||
Puck.eval(`require('Storage').read(${JSON.stringify('authentiwatch.json')})`,data=>{
|
Puck.eval(`require('Storage').read(${JSON.stringify('authentiwatch.json')})`,data=>{
|
||||||
Util.hideModal();
|
Util.hideModal();
|
||||||
try {
|
try {
|
||||||
let saved = JSON.parse(data);
|
let load = JSON.parse(data);
|
||||||
tokens = saved.data;
|
tokens = load.data;
|
||||||
updateTokens();
|
updateTokens();
|
||||||
} catch {
|
} catch {
|
||||||
tokens = [];
|
tokens = [];
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue