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) {
|
if (!req.body.amount || req.body.amount <= 0) {
|
||||||
logger.log(
|
logger.log("intellipay-checkfee-skip", "DEBUG", req.user?.email, null, {
|
||||||
"intellipay-checkfee-skip",
|
message: "Amount is zero or undefined, skipping fee check."
|
||||||
"DEBUG",
|
});
|
||||||
req.user?.email,
|
|
||||||
"Amount is zero or undefined, skipping fee check."
|
|
||||||
);
|
|
||||||
res.json({ fee: 0 });
|
res.json({ fee: 0 });
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user