From 641a94d64a263ddb4a923beaf9d12eee24db6511 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 16 Jan 2024 12:04:26 -0500 Subject: [PATCH] chore: additional logging --- src/activitypub/inbox.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/activitypub/inbox.js b/src/activitypub/inbox.js index 97a535e668..530edbddb4 100644 --- a/src/activitypub/inbox.js +++ b/src/activitypub/inbox.js @@ -16,7 +16,8 @@ inbox.create = async (req) => { if (postData) { await activitypub.notes.assert(1, [postData]); - await activitypub.notes.assertTopic(1, postData.pid); + const tid = await activitypub.notes.assertTopic(1, postData.pid); + winston.info(`[activitypub/inbox] Parsing note ${postData.pid} into topic ${tid}`); } else { winston.warn('[activitypub/inbox] Received object was not a note'); }