forked from Adleraci/adlerka.top
Test JS
This commit is contained in:
parent
fd8e5e9ebe
commit
083fa5ac9e
@ -352,7 +352,8 @@ async function getUserInfo() {
|
||||
const result = await doAction('/account', data, "User info retrieved Successfully!", "User info retrieval failed.", true);
|
||||
|
||||
if (result && result.Status === "Success") {
|
||||
result.UserInfo.forEach((value, index) => {
|
||||
Object.keys(result.UserInfo).forEach(index => {
|
||||
let value = result.UserInfo[index];
|
||||
localStorage.setItem("UserInfo_" + index, value);
|
||||
UserInfo[index] = value;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user