fixed error in account settings

This commit is contained in:
vabene1111
2024-12-08 22:04:06 +01:00
parent e3f20459dd
commit f1f907ee33

View File

@@ -42,7 +42,7 @@ const user = ref({} as User)
onMounted(() => {
let api = new ApiApi()
api.apiUserRetrieve({id: useUserPreferenceStore().userSettings.user}).then(r => {
api.apiUserRetrieve({id: useUserPreferenceStore().userSettings.user.id}).then(r => {
user.value = r
}).catch(err => {
useMessageStore().addError(ErrorMessageType.FETCH_ERROR, err)