diff --git a/src/middleware/packages/activitypub/services/activitypub/subservices/outbox.js b/src/middleware/packages/activitypub/services/activitypub/subservices/outbox.js index cbe2456b9..9100b9e34 100644 --- a/src/middleware/packages/activitypub/services/activitypub/subservices/outbox.js +++ b/src/middleware/packages/activitypub/services/activitypub/subservices/outbox.js @@ -27,7 +27,7 @@ const OutboxService = { }, actions: { async post(ctx) { - let { collectionUri, ...activity } = ctx.params; + let { collectionUri, username, ...activity } = ctx.params; const collectionExists = await ctx.call('activitypub.collection.exist', { resourceUri: collectionUri }); if (!collectionExists) {