diff --git a/server/intellipay/intellipay.js b/server/intellipay/intellipay.js index a52ad606a..a1fe11a6d 100644 --- a/server/intellipay/intellipay.js +++ b/server/intellipay/intellipay.js @@ -211,12 +211,9 @@ exports.checkfee = async (req, res) => { }); if (!req.body.amount || req.body.amount <= 0) { - logger.log( - "intellipay-checkfee-skip", - "DEBUG", - req.user?.email, - "Amount is zero or undefined, skipping fee check." - ); + logger.log("intellipay-checkfee-skip", "DEBUG", req.user?.email, null, { + message: "Amount is zero or undefined, skipping fee check." + }); res.json({ fee: 0 }); return; }