mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 16:35:47 +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.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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user