Skip to content

Commit

Permalink
Doc: fix ActivitiesHandlerMixin example
Browse files Browse the repository at this point in the history
  • Loading branch information
srosset81 committed Dec 19, 2024
1 parent 1be4ff4 commit a6fe904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/docs/middleware/activitypub/activities-handler.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ module.exports = {
myAnnounceActivity: {
async match(activity, fetcher) {
if (activity.actor !== 'http://localhost:3000/myself') {
return { match: false, dereferenceActivity: activity };
return { match: false, dereferencedActivity: activity };
} else {
return await matchActivity({ type: ACTIVITY_TYPES.ANNOUNCE }, activity, fetcher);
}
Expand Down

0 comments on commit a6fe904

Please sign in to comment.