From 08796a0a5929a76a5b0bff995d50f35982b312da Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 19 Mar 2025 14:01:05 -0400 Subject: [PATCH] fix: wrong property name used --- src/api/activitypub.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/activitypub.js b/src/api/activitypub.js index e91e27f712..e2866589c7 100644 --- a/src/api/activitypub.js +++ b/src/api/activitypub.js @@ -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),