From 93957951f5b91d837dfddf532f67570200b1e93c Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Tue, 15 Oct 2024 20:47:38 -0400 Subject: [PATCH] card return --- service/cards.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/service/cards.js b/service/cards.js index 4b6d609..463c95c 100644 --- a/service/cards.js +++ b/service/cards.js @@ -36,8 +36,12 @@ var cards = { }, }, }); - - + console.log(cardholder); + let resultItem = { + "result":cardholder, + "total_record":0 + } + next(null, resultItem); // pass control to the next handler // res.status(200).json(saveUser); } catch (error) {