aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-10-13 13:31:57 -1000
committercel <cel@f/6sQ6d2CMxRUhLpspgGIulDxDCwYD7DzFzPNr7u5AU=.ed25519>2017-10-13 13:31:57 -1000
commit2e0bc018be690210118b32285b6a04d1357e2201 (patch)
tree6cae4424ef2e12219ec31ab2079c10020d8101f9
parent5119a5de3b2bba836f2847ca18227c14baf2b629 (diff)
downloadpatchfoo-2e0bc018be690210118b32285b6a04d1357e2201.tar.gz
patchfoo-2e0bc018be690210118b32285b6a04d1357e2201.zip
Fix
-rw-r--r--lib/serve.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/serve.js b/lib/serve.js
index b8c296e..e8adf3a 100644
--- a/lib/serve.js
+++ b/lib/serve.js
@@ -1232,8 +1232,8 @@ Serve.prototype.renderThread = function (opts) {
this.app.render.renderFeeds({
raw: false,
full: this.query.full != null,
- feed: opts.feed,
- msgId: opts.msgId,
+ feed: opts && opts.feed,
+ msgId: opts && opts.msgId,
filter: this.query.filter,
}),
pull.map(u.toHTML)