mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 08:25:46 +01:00
teaser is just reply, dont include mainPid
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user