summaryrefslogtreecommitdiffstats
path: root/poe/graphql/MessageSetVoteMutation.graphql
diff options
context:
space:
mode:
Diffstat (limited to 'poe/graphql/MessageSetVoteMutation.graphql')
-rw-r--r--poe/graphql/MessageSetVoteMutation.graphql7
1 files changed, 7 insertions, 0 deletions
diff --git a/poe/graphql/MessageSetVoteMutation.graphql b/poe/graphql/MessageSetVoteMutation.graphql
new file mode 100644
index 00000000..76000df0
--- /dev/null
+++ b/poe/graphql/MessageSetVoteMutation.graphql
@@ -0,0 +1,7 @@
+mutation MessageSetVoteMutation($messageId: BigInt!, $voteType: VoteType!, $reason: String) {
+ messageSetVote(messageId: $messageId, voteType: $voteType, reason: $reason) {
+ message {
+ ...MessageFragment
+ }
+ }
+}