mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +00:00
update user, write all values, query verification Badge (#8593)
This commit is contained in:
parent
ad4b6e0d79
commit
18ae2a04ab
@ -388,6 +388,11 @@ export const updateUserMutation = () => {
|
|||||||
avatar {
|
avatar {
|
||||||
url
|
url
|
||||||
}
|
}
|
||||||
|
badgeVerification {
|
||||||
|
id
|
||||||
|
description
|
||||||
|
icon
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|||||||
@ -106,13 +106,9 @@ export default {
|
|||||||
about,
|
about,
|
||||||
},
|
},
|
||||||
update: (store, { data: { UpdateUser } }) => {
|
update: (store, { data: { UpdateUser } }) => {
|
||||||
const { name, slug, locationName, about } = UpdateUser
|
|
||||||
this.setCurrentUser({
|
this.setCurrentUser({
|
||||||
...this.currentUser,
|
...this.currentUser,
|
||||||
name,
|
...UpdateUser,
|
||||||
slug,
|
|
||||||
locationName,
|
|
||||||
about,
|
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user