mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
fixed error in account settings
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user