From ab3c39eb6202babd9f9d157db19e022844cda076 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 1 Apr 2026 14:09:56 -0400 Subject: [PATCH] fix: bad args sent to activitypub.record.send --- src/activitypub/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/activitypub/index.js b/src/activitypub/index.js index e66becbea9..9959f97ffb 100644 --- a/src/activitypub/index.js +++ b/src/activitypub/index.js @@ -381,7 +381,10 @@ ActivityPub._sendMessage = async function (uri, id, type, payload) { }); if (String(response.statusCode).startsWith('2')) { - ActivityPub.record.send(payload.type, uri); + ActivityPub.record.send({ + type: payload.type, + target: uri, + }); ActivityPub.helpers.log(`[activitypub/send] Successfully sent ${payload.type} to ${uri}`); return true; }