This commit is contained in:
CHIEFSOFT\ameye
2024-10-19 00:16:11 -04:00
parent fed5cd7c89
commit 0e4f0becee
+10 -6
View File
@@ -58,14 +58,18 @@ var cards = {
country: result.rows[0].country,
},
},
}).then((cardholder)=>{
console.log(cardholder);
let resultItem = {
"result": cardholder,
"total_record": 0
}
next(null, resultItem); // pass control to the next handler
});
console.log(cardholder);
let resultItem = {
"result": cardholder,
"total_record": 0
}
next(null, resultItem); // pass control to the next handler
} catch (e) {
next(e.message, null); // pass control to the next handler
}