Skip to content

Node.js based forum software built for the modern web

chore: additional logging

Julian Lam641a94d64a26
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');
}