summaryrefslogtreecommitdiff
path: root/internal/api/model/poll.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/api/model/poll.go')
-rw-r--r--internal/api/model/poll.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/api/model/poll.go b/internal/api/model/poll.go
index 7eddb66ef..3eb801998 100644
--- a/internal/api/model/poll.go
+++ b/internal/api/model/poll.go
@@ -113,6 +113,9 @@ type PollVoteRequest struct {
type WebPollOption struct {
PollOption
+ // ID of the parent poll.
+ PollID string
+
// Emojis contained on parent poll.
Emojis []Emoji