mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: wrong property name used
This commit is contained in:
@@ -124,7 +124,7 @@ activitypubApi.create.note = enabledCheck(async (caller, { pid, post }) => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
const { payload: activity, targets } = await activitypub.mocks.activities.create(pid, caller.uid, post);
|
const { activity, targets } = await activitypub.mocks.activities.create(pid, caller.uid, post);
|
||||||
|
|
||||||
await Promise.all([
|
await Promise.all([
|
||||||
activitypub.send('uid', caller.uid, Array.from(targets), activity),
|
activitypub.send('uid', caller.uid, Array.from(targets), activity),
|
||||||
|
|||||||
Reference in New Issue
Block a user