From b3c948f0c78866a444f227556329c0a50bc4d9fd Mon Sep 17 00:00:00 2001 From: Dave Richer Date: Wed, 11 Dec 2024 12:08:29 -0800 Subject: [PATCH] feature/IO-3056-Enhanced-Lightbox-Logging --- server/intellipay/intellipay.js | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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; }