🚑 hotfix - Profile api path

This commit is contained in:
Philipp Dormann 2021-03-31 20:11:40 +02:00
parent 3b2c99c709
commit 2056ce1e62

View File

@ -184,7 +184,7 @@ const props = defineProps({
token: String token: String
}) })
const accesstoken = atob(props.token); const accesstoken = atob(props.token);
axios.get(`${config.baseurl_selfservice}/api/runners/me/${accesstoken}`) axios.get(`${config.baseurl_selfservice}api/runners/me/${accesstoken}`)
.then(({ data }) => { .then(({ data }) => {
state.phone = data.phone; state.phone = data.phone;
state.email = data.email; state.email = data.email;