fix(profile): passed id is a jwt

This commit is contained in:
2024-12-11 22:43:02 +01:00
parent dee1b7a6ea
commit dbe707b062

View File

@@ -527,7 +527,7 @@ const toast = useToast();
const props = defineProps({ const props = defineProps({
token: String, token: String,
}); });
const accesstoken = atob(props.token); const accesstoken = props.token;
axios axios
.get(`${config.baseurl}api/runners/me/${accesstoken}`) .get(`${config.baseurl}api/runners/me/${accesstoken}`)
.then(({ data }) => { .then(({ data }) => {