fix(profile): passed id is a jwt
This commit is contained in:
parent
dee1b7a6ea
commit
dbe707b062
@ -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 }) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user