1
0
mirror of https://dev.s-ul.net/Galexion/MaiMaiDXNet.git synced 2024-11-27 22:10:49 +01:00

Hotfix: AimeID was not being saved, and its required for some things.

This commit is contained in:
Galexion 2023-02-16 20:43:12 -05:00
parent eaef1396df
commit 32ca13816c
3 changed files with 6 additions and 0 deletions

View File

@ -27,4 +27,8 @@ let db = new sqlite3.Database('A:\\db.sqlite');
});
});
router.post('/getUserData/', function (req,res,next) {
})
module.exports = router;

View File

@ -49,6 +49,7 @@
// Save data to local storage
localStorage.setItem('ext_id', data.data.ext_id);
localStorage.setItem('luid', data.data.luid);
localStorage.setItem('aimeid', data.data.id);
window.location = "/user";
})
.catch(error => console.error(error));

View File

@ -17,6 +17,7 @@
clearStorageBtn.addEventListener('click', () => {
localStorage.removeItem('ext_id');
localStorage.removeItem('luid');
localStorage.removeItem('aimeid');
console.log('Local storage cleared.');
window.location = "/";
});