fetch from LS removed
This commit is contained in:
parent
bb32e25b5f
commit
ebb40f7b3a
|
|
@ -307,7 +307,7 @@ const fetchAccount = async () => {
|
|||
const response = await fetchWrapper.get(`${baseUrl}/account`);
|
||||
const data = response.data;
|
||||
|
||||
console.log("getAccount data: ", data);
|
||||
console.log("fetchAccount data: ", data);
|
||||
|
||||
legalAppStatus.value = data.legal_app_status;
|
||||
legalExpiresAt.value = data.legal_expires_at;
|
||||
|
|
@ -349,7 +349,7 @@ const fetchAccount = async () => {
|
|||
};
|
||||
|
||||
// get the account from localStorage
|
||||
const getAccount = async () => {
|
||||
/* const getAccount = async () => {
|
||||
console.log("getAccount ");
|
||||
|
||||
try {
|
||||
|
|
@ -392,7 +392,7 @@ const getAccount = async () => {
|
|||
} catch (error) {
|
||||
isLoading.value = false;
|
||||
}
|
||||
};
|
||||
}; */
|
||||
|
||||
/*
|
||||
legal_app_status
|
||||
|
|
@ -402,6 +402,6 @@ legal_expires_at
|
|||
legal_number
|
||||
*/
|
||||
onMounted(async () => {
|
||||
await getAccount();
|
||||
await fetchAccount(); //getAccount();
|
||||
});
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue