setUserAvatar
DeprecatedSets the signed-in user's avatar to the image uploaded through mintUserAvatarUpload, and returns the user.
Not needed: an uploaded image is picked up on the next read. Fails when nothing was uploaded.
Arguments
inputSetUserAvatarInput!The uploaded avatar.
Returns
User!Example
mutation SetUserAvatar($input: SetUserAvatarInput!) {
setUserAvatar(input: $input) {
color
createdAt
email
emailVerified
firstName
id
image
isAdmin
}
}