mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 16:00:26 +01:00
refactor: move all methods in src/api/activitypub.js to src/activitypub.out.js
This commit is contained in:
@@ -265,7 +265,7 @@ Notes.assert = async (uid, input, options = { skipChecks: false }) => {
|
||||
|
||||
if (!hasTid && options.cid) {
|
||||
// New topic, have category announce it
|
||||
api.activitypub.announce.category({}, { tid });
|
||||
activitypub.out.announce.category(tid);
|
||||
}
|
||||
|
||||
return { tid, count };
|
||||
|
||||
Reference in New Issue
Block a user