mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-26 16:41:21 +01:00
fix: incorrect posts url in topic posts collection
This commit is contained in:
@@ -168,7 +168,7 @@ Actors.topicPosts = async function (req, res, next) {
|
|||||||
method: posts.getPidsFromSet,
|
method: posts.getPidsFromSet,
|
||||||
page,
|
page,
|
||||||
perPage,
|
perPage,
|
||||||
url: `${nconf.get('url')}/topic/${req.params.tid}`,
|
url: `${nconf.get('url')}/topic/${req.params.tid}/posts`,
|
||||||
}),
|
}),
|
||||||
db.getSortedSetMembers(`tid:${req.params.tid}:posts`),
|
db.getSortedSetMembers(`tid:${req.params.tid}:posts`),
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in New Issue
Block a user