Merge branch 'develop' into devTee

This commit is contained in:
STW_TTTY\stwtt 2024-08-28 16:11:02 +07:00
commit bdb81b7bca
2 changed files with 2 additions and 2 deletions

View file

@ -499,7 +499,7 @@ const fetchData = async () => {
defaultInformation.value.tel = data.telephone;
defaultInformation.value.knowledge = data.knowledge;
})
.catch(() => {
.catch(async () => {
const user = await tokenParsed();
defaultInformation.value.email = user ? user.email : "";
defaultInformation.value.firstname = user ? user.given_name : "";

View file

@ -5,7 +5,7 @@ import { useRoute } from "vue-router";
const route = useRoute();
onMounted(() => {
onMounted(async () => {
if (route.query.token && route.query.accessToken) {
const params = await {
access_token: route.query.token,