Request id

This commit is contained in:
CHIEFSOFT\ameye
2024-10-18 23:51:25 -04:00
parent cac5ea59b5
commit 9f0fa54095
+1 -4
View File
@@ -8,10 +8,7 @@ const stripe = require('stripe')(process.env.STRIPE_SECRET_KEY);
var cards = {
createCard: async function (req, res, next) {
try {
//logger.info(req.query);
logger.info(req.body);
var data = {
"request_uid": req.body.request_uid,
"request_id": req.body.request_id,
@@ -24,7 +21,7 @@ var cards = {
db.query(Qstring, async function (err, result) {
try {
if (err) throw err;
logger.info("RESULT 001", result[0].firstname);
logger.info("RESULT 001", result.rows[0].firstname);
// logger.info("RESULT 002", result[0].firstname);
const cardholder = await stripe.issuing.cardholders.create({