mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-09-01 02:38:22 +02:00
fix: minor comment fix
This commit is contained in:
@@ -147,7 +147,7 @@ Actors.assert = async (ids, options = {}) => {
|
|||||||
categories.add(actor.id);
|
categories.add(actor.id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (
|
if (
|
||||||
!typeOk ||
|
!typeOk ||
|
||||||
!activitypub._constants.requiredActorProps.every(prop => actor.hasOwnProperty(prop))
|
!activitypub._constants.requiredActorProps.every(prop => actor.hasOwnProperty(prop))
|
||||||
@@ -351,7 +351,7 @@ Actors.assertGroup = async (ids, options = {}) => {
|
|||||||
}));
|
}));
|
||||||
groups = groups.filter(Boolean); // remove unresolvable actors
|
groups = groups.filter(Boolean); // remove unresolvable actors
|
||||||
|
|
||||||
// Build userData object for storage
|
// Build categoryData object for storage
|
||||||
const categoryObjs = (await activitypub.mocks.category(groups)).filter(Boolean);
|
const categoryObjs = (await activitypub.mocks.category(groups)).filter(Boolean);
|
||||||
const now = Date.now();
|
const now = Date.now();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user