feature/IO-3056-Enhanced-Lightbox-Logging
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user