teaser is just reply, dont include mainPid

This commit is contained in:
Barış Soner Uşaklı
2015-04-16 13:34:23 -04:00
parent e7dd881092
commit 617808d574

View File

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