From 465a46f2e6bbdad6c9d45ee8d7ac1589b73e976a Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Wed, 10 Apr 2024 12:16:35 -0400 Subject: [PATCH] fix: send only the id into actors.assert --- 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 a4b606df0e..2db29959b4 100644 --- a/src/activitypub/inbox.js +++ b/src/activitypub/inbox.js @@ -70,7 +70,7 @@ inbox.update = async (req) => { } case 'Person': { - await activitypub.actors.assert(object, { update: true }); + await activitypub.actors.assert(object.id, { update: true }); break; } }