From 69d5544a7b13fc62c7e51b7a6e0fbc779e474582 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 27 Nov 2024 14:01:02 -0500 Subject: [PATCH] fix: another fix re: 3780fdc6ff9fb23048266b43ceae86646fb795cc --- src/activitypub/inbox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/activitypub/inbox.js b/src/activitypub/inbox.js index 46a71ae659..799ccf4819 100644 --- a/src/activitypub/inbox.js +++ b/src/activitypub/inbox.js @@ -225,7 +225,7 @@ inbox.delete = async (req) => { switch (true) { case isNote: { const uid = await posts.getPostField(object, 'uid'); - await announce(object, req.body); + await announce(pid, req.body); await api.posts[method]({ uid }, { pid }); break; }