From 812ec73ed7bfed68fb79b48597c1403ac106ef64 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 21 Jan 2025 13:01:27 -0500 Subject: [PATCH] fix: incorrect `posts` url in topic posts collection --- src/controllers/activitypub/actors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/activitypub/actors.js b/src/controllers/activitypub/actors.js index 7b05938c80..ca92cee5f0 100644 --- a/src/controllers/activitypub/actors.js +++ b/src/controllers/activitypub/actors.js @@ -168,7 +168,7 @@ Actors.topicPosts = async function (req, res, next) { method: posts.getPidsFromSet, page, 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`), ]);