diff --git a/src/views/profile/Main.vue b/src/views/profile/Main.vue index 22ccb13..16d961e 100644 --- a/src/views/profile/Main.vue +++ b/src/views/profile/Main.vue @@ -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(); });