From f1f907ee33702d9d7bca6e94dd12b1fb86f09cba Mon Sep 17 00:00:00 2001 From: vabene1111 Date: Sun, 8 Dec 2024 22:04:06 +0100 Subject: [PATCH] fixed error in account settings --- vue3/src/components/settings/AccountSettings.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vue3/src/components/settings/AccountSettings.vue b/vue3/src/components/settings/AccountSettings.vue index 9c8973a199..ae7bff3cff 100644 --- a/vue3/src/components/settings/AccountSettings.vue +++ b/vue3/src/components/settings/AccountSettings.vue @@ -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)