diff --git a/route/route.js b/route/route.js index 2dd46ba..5dd59b9 100644 --- a/route/route.js +++ b/route/route.js @@ -16,7 +16,7 @@ router.get('/getResponseDetails', handleOrchestration.getResponseDetails); //***********************************fetchHistory**************************************************** -router.get('/fetchHistory', authMiddleware, fetchHistory.fetchHistory); +router.post('/fetchHistory', authMiddleware, fetchHistory.fetchHistory); router.get('/fetchUserHistory', authMiddleware, fetchHistory.fetchUserHistory); module.exports = router; \ No newline at end of file