fix: audience property in topic actor response

This commit is contained in:
Julian Lam
2024-07-29 13:14:06 -04:00
parent 3e494dc757
commit 9a54f6bc7d

View File

@@ -146,7 +146,7 @@ Actors.topic = async function (req, res, next) {
url: `${nconf.get('url')}/topic/${slug}`,
name,
attributedTo: `${nconf.get('url')}/category/${cid}`,
audience: cid !== -1 ? `${nconf.get('url')}/category/${cid}/followers` : undefined,
audience: cid !== -1 ? `${nconf.get('url')}/category/${cid}` : undefined,
...collection,
};