aboutsummaryrefslogtreecommitdiff
path: root/lib/serve.js
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-06-14 22:58:09 -0400
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2018-06-14 22:58:09 -0400
commit71dbf8712d7f8a181c6f724cbb9ea002a280edb1 (patch)
treecfe184748926b625694cd049519e667bbeb37ba5 /lib/serve.js
parente8c2eb2a9f3c9a25df5ee189740641ff96fc6ba7 (diff)
downloadpatchfoo-71dbf8712d7f8a181c6f724cbb9ea002a280edb1.tar.gz
patchfoo-71dbf8712d7f8a181c6f724cbb9ea002a280edb1.zip
Fix polls
Diffstat (limited to 'lib/serve.js')
-rw-r--r--lib/serve.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/serve.js b/lib/serve.js
index a05739a..448b18b 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -232,6 +232,7 @@ Serve.prototype.publishPollPosition = function (cb) {
version: 'v1',
channel: this.data.channel || undefined,
root: this.data.poll_root,
+ reason: this.data.poll_reason,
details: {
type: this.data.poll_type,
choice: this.data.poll_choice