live log
This commit is contained in:
@@ -14,6 +14,7 @@ export const fetch = async (req, res)=>{
|
||||
|
||||
if (verifyMode === 100) // this is live
|
||||
{
|
||||
console.log("BVN REQ LIVE....!! LIVE....!! LIVE....!! LIVE....!! LIVE....!! LIVE....!! ");
|
||||
const envKey = process.env.VERIFY_ME_PUBLIC_LIVE_SECRET;
|
||||
}
|
||||
// 'Authorization': 'Bearer ' + `${process.env.VERIFY_ME_PUBLIC_TEST_SECRET}`,
|
||||
@@ -39,7 +40,7 @@ export const fetch = async (req, res)=>{
|
||||
config
|
||||
)
|
||||
.then( async ( response ) => {
|
||||
console.log('BVN CHECK BVN --> ',response);
|
||||
console.log('BVN CHECK BVN --> ',response.data);
|
||||
//console.log("===============================================");
|
||||
const bvnData = new Bvn(response.data.data);
|
||||
const saveBvn = await bvnData.save();
|
||||
|
||||
Reference in New Issue
Block a user