fix: wrong property name used

This commit is contained in:
Julian Lam
2025-03-19 14:01:05 -04:00
parent 1c23d0cfa6
commit 08796a0a59

View File

@@ -124,7 +124,7 @@ activitypubApi.create.note = enabledCheck(async (caller, { pid, post }) => {
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([
activitypub.send('uid', caller.uid, Array.from(targets), activity),