diff options
| -rw-r--r-- | routes/index.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/routes/index.js b/routes/index.js index e89856f..4a0e54c 100644 --- a/routes/index.js +++ b/routes/index.js @@ -65,7 +65,8 @@ router.get('/exams/:id', function(req, res, next) { instructors: getInstructors, type:toProperCase(exams[i].type) + " Examination", title:exams[i].title, - id:exams[i]._id + id:exams[i]._id, + questionCount : exams[i].questions_count }; //console.log(minExamInfo); minExamInfoArray.push(minExamInfo); |
