pollAddVote
Input fields
optionId (
ID!
)
Return fields
id (
ID!
)
question (
String!
)
isOpen (
Boolean!
)
lastUpdated (
String
)
totalVotes (
Int
)
options (
[PollOption!]
)
hasVoted (
PollOption
)
Query if user has voted on Poll, if so return voted option
Argument | Type | Description |
---|---|---|
userId |
ID!
|