diff --git a/src/routers/aiRoute.js b/src/routers/aiRoute.js index 14ea665..d871e68 100644 --- a/src/routers/aiRoute.js +++ b/src/routers/aiRoute.js @@ -30,7 +30,11 @@ router router .route('/text-summarization/:id') - .get(authController.isLogin, textSummarizationController.summarizeQuestion); + .get( + authController.isLogin, + textSummarizationController.enforceQueryParams, + textSummarizationController.summarizeQuestion, + ); /* TODO: