Skip to content

Instantly share code, notes, and snippets.

@monorkin
Created January 2, 2019 16:56
Show Gist options
  • Save monorkin/0b5699a516650251adad7ac0ef9bc6fc to your computer and use it in GitHub Desktop.
Save monorkin/0b5699a516650251adad7ac0ef9bc6fc to your computer and use it in GitHub Desktop.
mutation SetAvatar($data: String, $filename: String) {
updateUser(
id: "some_user_uuid"
input: {
avatar: {
filename: $filename
data: $data
}
}
) {
avatar_url
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment