diff options
| author | Waref Haque <warefhaque@Warefs-MacBook-Pro.local> | 2016-07-23 15:05:18 +0000 |
|---|---|---|
| committer | Waref Haque <warefhaque@Warefs-MacBook-Pro.local> | 2016-07-23 15:05:18 +0000 |
| commit | 077430ac66259bde495fb98080ce3a3d0a6e4783 (patch) | |
| tree | 5ee5cd099b3bbd27cb5a17bdd9d333ee85759164 /routes | |
| parent | 5eddac610c420966a10dfbee2bd6f5d4a57a6b18 (diff) | |
questions count
Diffstat (limited to 'routes')
| -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); |
