dont spam logs

This commit is contained in:
Barış Soner Uşaklı
2025-08-14 19:05:25 -04:00
parent e079f8b291
commit 3a1ebae796

View File

@@ -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);
}