Skip to content

Node.js based forum software built for the modern web

dont spam logs

Barış Soner Uşaklı3a1ebae79627
diff --git a/src/controllers/activitypub/index.js b/src/controllers/activitypub/index.js
index b3bc85aab6..121c8536aa 100644
--- a/src/controllers/activitypub/index.js
+++ b/src/controllers/activitypub/index.js
@@ -144,7 +144,7 @@ Controller.postInbox = async (req, res) => {
// Note: underlying methods are internal use only, hence no exposure via src/api
const method = String(req.body.type).toLowerCase();
if (!activitypub.inbox.hasOwnProperty(method)) {
- winston.warn(`[activitypub/inbox] Received Activity of type ${method} but unable to handle. Ignoring.`);
+ activitypub.helpers.log(`[activitypub/inbox] Received Activity of type ${method} but unable to handle. Ignoring.`);
return res.sendStatus(200);
}