mirror of
https://dev.s-ul.net/Galexion/MaiMaiDXNet.git
synced 2024-11-24 07:30:23 +01:00
Hotfix: AimeID was not being saved, and its required for some things.
This commit is contained in:
parent
eaef1396df
commit
32ca13816c
@ -27,4 +27,8 @@ let db = new sqlite3.Database('A:\\db.sqlite');
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
router.post('/getUserData/', function (req,res,next) {
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
module.exports = router;
|
module.exports = router;
|
@ -49,6 +49,7 @@
|
|||||||
// Save data to local storage
|
// Save data to local storage
|
||||||
localStorage.setItem('ext_id', data.data.ext_id);
|
localStorage.setItem('ext_id', data.data.ext_id);
|
||||||
localStorage.setItem('luid', data.data.luid);
|
localStorage.setItem('luid', data.data.luid);
|
||||||
|
localStorage.setItem('aimeid', data.data.id);
|
||||||
window.location = "/user";
|
window.location = "/user";
|
||||||
})
|
})
|
||||||
.catch(error => console.error(error));
|
.catch(error => console.error(error));
|
||||||
|
@ -17,6 +17,7 @@
|
|||||||
clearStorageBtn.addEventListener('click', () => {
|
clearStorageBtn.addEventListener('click', () => {
|
||||||
localStorage.removeItem('ext_id');
|
localStorage.removeItem('ext_id');
|
||||||
localStorage.removeItem('luid');
|
localStorage.removeItem('luid');
|
||||||
|
localStorage.removeItem('aimeid');
|
||||||
console.log('Local storage cleared.');
|
console.log('Local storage cleared.');
|
||||||
window.location = "/";
|
window.location = "/";
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user