From 952782c48febd7c59a304a9fe1bbf89be5c7f04c Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Tue, 25 Jun 2024 14:45:14 -0400 Subject: [PATCH] member id --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 5cc9207..33640e3 100644 --- a/index.js +++ b/index.js @@ -159,7 +159,7 @@ app.post('/upload/contract', upload.single('file'), (req, res) => { var data2 = { - "member_id": req.body.member_id, + "member_id": member_id, "contract": req.body.contract, "msg_type": req.body.msg_type, "filename": req.file.filename, @@ -170,7 +170,7 @@ app.post('/upload/contract', upload.single('file'), (req, res) => { }; var data = { - "member_id": req.body.member_id, + "member_id": member_id, "contract": req.body.contract, "msg_type": req.body.msg_type, "filename": req.file.filename,