pollAddVote

Input fields

optionId (ID!)

Return fields

id (ID!)
question (String!)
isOpen (Boolean!)
createdOn (String)
Argument Type Description
format String
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!