diff options
Diffstat (limited to 'lib/serve.js')
-rw-r--r-- | lib/serve.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/serve.js b/lib/serve.js index 9137bc5..fe2ab39 100644 --- a/lib/serve.js +++ b/lib/serve.js @@ -143,6 +143,7 @@ Serve.prototype.publishJSON = function (cb) { Serve.prototype.publishVote = function (cb) { var content = { type: 'vote', + channel: this.data.channel || undefined, vote: { link: this.data.link, value: Number(this.data.value), |