Commit f2099f1a authored by yPhil's avatar yPhil

Bugfix: return res.send()

parent 2ba6c181
......@@ -84,14 +84,14 @@ router.get('/feed', function(req, res) {
getFeed(req.query.feedurl, function (err, feedItems, feedTitle, feedLink) {
if (feedItems) {
res.send({
return res.send({
feedItems: feedItems,
feedLink: feedLink,
feedTitle: feedTitle
});
res.end();
// res.end();
} else {
res.send({error:err});
return res.send({error:err});
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment