diff --git a/routes/matching.js b/routes/matching.js index a1f8996..a062934 100644 --- a/routes/matching.js +++ b/routes/matching.js @@ -324,8 +324,8 @@ router.post('/confirm-allocation/:allocationId', auth, async (req, res) => { data: { transferId } }); - axios.post('http://192.168.1.43:5000',{ - allocationId: allocationId + axios.post('http://192.168.1.43:5000/ocr',{ + id: allocationId }).then(res => { console.log(res.data) })