From 62a12609623fe42a8476afb4f12b280504622dd7 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Tue, 10 Sep 2024 08:54:55 -0400 Subject: [PATCH] name as vairables --- controller/verifyController.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/controller/verifyController.js b/controller/verifyController.js index 0590094..f4e8988 100644 --- a/controller/verifyController.js +++ b/controller/verifyController.js @@ -32,7 +32,9 @@ export const fetch = async (req, res)=>{ // }; const bodyParameters = { - "firstname":"John", + "firstname":req.body.firstname, + "lastname":req.body.lastname, + "dob":req.body.dob }; //22349419550 real live userBNV //10000000001 test