Skip to content

Node.js based forum software built for the modern web

fix: #13654, improper OrderedCollectionPage ID

Julian Lamaa7e078fbff9
diff --git a/src/controllers/activitypub/actors.js b/src/controllers/activitypub/actors.js
index b4f4ddd055..9ae24ed613 100644
--- a/src/controllers/activitypub/actors.js
+++ b/src/controllers/activitypub/actors.js
@@ -143,7 +143,7 @@ Actors.topic = async function (req, res, next) {
method: posts.getPidsFromSet,
page,
perPage,
- url: `${nconf.get('url')}/topic/${req.params.tid}/posts`,
+ url: `${nconf.get('url')}/topic/${req.params.tid}`,
}),
db.getSortedSetMembers(`tid:${req.params.tid}:posts`),
]));