Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

Commit

Permalink
Add Follow activity handler debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
mzyy94 committed Jul 6, 2023
1 parent 8fd981f commit ccff4c6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions backend/src/activitypub/activities/handle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ export async function handle(
// Automatically send the Accept reply
await acceptFollowing(db, originalActor, receiver)
const reply = accept.create(receiver, activity)
console.log({ reply, activity })
const signingKey = await getSigningKey(userKEK, db, receiver)
await deliverToActor(signingKey, receiver, originalActor, reply, domain)

Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
"pre-commit": "yarn lint"
},
"volta": {
"node": "20.4.0"
"node": "18.16.1",
"yarn": "1.22.19"
}
}

0 comments on commit ccff4c6

Please sign in to comment.