Commit c27adcea authored by yPhil's avatar yPhil

Bugfix: Sent headers

parent 68761569
......@@ -74,8 +74,7 @@ function getFeed (urlfeed, callback) {
}
}).on ('end', function () {
var meta = this.meta;
callback ('Feed OK', feedItems, meta.title, meta.link);
return;
return callback ('Feed OK', feedItems, meta.title, meta.link);
}).on ('error', function (err) {
callback ('Bad feed: ' + 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