Rename variable

master
Andrew Gregory 2021-12-01 00:17:26 +08:00 committed by GitHub
parent f127bef66b
commit 51c91bf9ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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 = [];