INPUT_OBJECT

SetHeroAsAvatarInput

SetHeroAsAvatarInput contains the parameters to copy the user's hero to their avatar. no parameters are required, because this mutation copies the requesting user's hero to the requesting user's avatar, but we're passing the heroID here because of a bug in the way make check works.

link GraphQL Schema definition

1input SetHeroAsAvatarInput {
4
2# The ID of the hero to copy to its owning user's profile picture.
3heroID: ID!
5}