Skip to content

Commit

Permalink
fixed error in account settings
Browse files Browse the repository at this point in the history
  • Loading branch information
vabene1111 committed Dec 8, 2024
1 parent e3f2045 commit f1f907e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vue3/src/components/settings/AccountSettings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f1f907e

Please sign in to comment.