refactor: split (and remove) activitypub.json file and move strings to more appropriate locations

This commit is contained in:
Julian Lam
2024-12-13 13:34:13 -05:00
parent aa1f65e9bb
commit e4e1063622
7 changed files with 76 additions and 19 deletions

View File

@@ -66,7 +66,7 @@ controller.list = async function (req, res) {
targetUid: targetUid,
};
const data = await categories.getCategoryById(cidQuery);
data.name = '[[activitypub:world.name]]';
data.name = '[[world:name]]';
delete data.children;
const tids = await getTids(cidQuery);