teaser is just reply, dont include mainPid

v1.18.x
Barış Soner Uşaklı 10 years ago
parent e7dd881092
commit 617808d574

@ -101,7 +101,7 @@ module.exports = function(Topics) {
};
Topics.updateTeaser = function(tid, callback) {
Topics.getLatestUndeletedPid(tid, function(err, pid) {
Topics.getLatestUndeletedReply(tid, function(err, pid) {
if (err) {
return callback(err);
}

Loading…
Cancel
Save