From a87fa7cc0e42967ae56e4788670650587f4b1c4a Mon Sep 17 00:00:00 2001 From: Moon Man Date: Sun, 31 Dec 2023 08:13:03 -0500 Subject: [PATCH] logging --- src/activity.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/activity.ts b/src/activity.ts index 45e229a..d522a5e 100644 --- a/src/activity.ts +++ b/src/activity.ts @@ -34,6 +34,8 @@ export const handleInboxPost = async (req: Request, res: Response) => { return; } + console.log("inbox POST:", req.url, req.body); + if (activity.type === "Follow") { console.log(JSON.stringify(activity, null, 4)); const actor = await getByActor(activity.object);