Result
This commit is contained in:
+5
-1
@@ -58,7 +58,7 @@ var cards = {
|
|||||||
country: result.rows[0].country,
|
country: result.rows[0].country,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
});
|
}).then((cardholder)=>{
|
||||||
|
|
||||||
console.log(cardholder);
|
console.log(cardholder);
|
||||||
let resultItem = {
|
let resultItem = {
|
||||||
@@ -66,6 +66,10 @@ var cards = {
|
|||||||
"total_record": 0
|
"total_record": 0
|
||||||
}
|
}
|
||||||
next(null, resultItem); // pass control to the next handler
|
next(null, resultItem); // pass control to the next handler
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
next(e.message, null); // pass control to the next handler
|
next(e.message, null); // pass control to the next handler
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user