Skip to content

Commit

Permalink
activitypub.outbox.post: filter out username from activity
Browse files Browse the repository at this point in the history
  • Loading branch information
srosset81 committed Aug 14, 2024
1 parent 3839548 commit d1620eb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d1620eb

Please sign in to comment.