Skip to content

Node.js based forum software built for the modern web

fix: send only the id into actors.assert

Julian Lam465a46f2e6bb
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;
}
}