We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b39701d commit 3c0f9e6Copy full SHA for 3c0f9e6
backend/app/routes/Q&A/question/index.js
@@ -14,7 +14,7 @@ router.post('/', validation(QuestionValidationSchema), postQuestion);
14
router.get('/getallquestions', getAllQuestion);
15
16
// This route will give question by given id
17
-router.get('/getQuestionById/:questionId', getQuestionById);
+router.get('/:getQuestionById', getQuestionById);
18
19
// This route will increase upvote by one.
20
router.patch('/upvote', upvoteQuestion);
0 commit comments