From 780eb39c188022553050dd9e42d3dde52696a87c Mon Sep 17 00:00:00 2001 From: asif Date: Tue, 26 Aug 2025 11:47:49 +0530 Subject: [PATCH] fixed a bug where data and pin validations were not called --- src/routes/imps.route.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/routes/imps.route.js b/src/routes/imps.route.js index 7f6a31d..d0ff998 100644 --- a/src/routes/imps.route.js +++ b/src/routes/imps.route.js @@ -32,5 +32,6 @@ const impsRoute = async (req, res) => { return res.json({ error: 'INTERVAL_SERVER_ERROR' }); } }; +router.post('/', impsRoute); -module.exports = impsRoute; +module.exports = router;