mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-09 15:35:47 +01:00
fixes #703 - topic feeds were not saving (who knows for how long!)
This commit is contained in:
@@ -69,6 +69,7 @@
|
|||||||
|
|
||||||
next();
|
next();
|
||||||
}, function() {
|
}, function() {
|
||||||
|
Feed.saveFeed('feeds/topics/' + tid + '.rss', feed, function (err) {
|
||||||
if (process.env.NODE_ENV === 'development') {
|
if (process.env.NODE_ENV === 'development') {
|
||||||
winston.info('[rss] Re-generated RSS Feed for tid ' + tid + '.');
|
winston.info('[rss] Re-generated RSS Feed for tid ' + tid + '.');
|
||||||
}
|
}
|
||||||
@@ -78,6 +79,7 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
});
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -111,7 +113,9 @@
|
|||||||
winston.info('[rss] Re-generated RSS Feed for cid ' + cid + '.');
|
winston.info('[rss] Re-generated RSS Feed for cid ' + cid + '.');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (callback) callback();
|
if (callback) {
|
||||||
|
callback();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user