update user, write all values, query verification Badge (#8593)

This commit is contained in:
Ulf Gebhardt 2025-05-25 16:48:24 +02:00 committed by GitHub
parent ad4b6e0d79
commit 18ae2a04ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 5 deletions

View File

@ -388,6 +388,11 @@ export const updateUserMutation = () => {
avatar {
url
}
badgeVerification {
id
description
icon
}
}
}
`

View File

@ -106,13 +106,9 @@ export default {
about,
},
update: (store, { data: { UpdateUser } }) => {
const { name, slug, locationName, about } = UpdateUser
this.setCurrentUser({
...this.currentUser,
name,
slug,
locationName,
about,
...UpdateUser,
})
},
})