diff options
| author | kumar <kumar.damani@mail.utoronto.ca> | 2016-07-24 01:38:36 +0000 |
|---|---|---|
| committer | kumar <kumar.damani@mail.utoronto.ca> | 2016-07-24 01:38:36 +0000 |
| commit | c5fa21db9ad2b129adceacddfbde62724d15886c (patch) | |
| tree | 2ec91a6284c2a9ff7545694a3a58e723e9be4ef7 | |
| parent | beb24e45b6ea43bb7f89b38631047df17a9931df (diff) | |
| parent | 3dc5f9d58a548dcace9e9367caa5d0e18eacae92 (diff) | |
pull
Merge branch 'master' of https://github.com/HumairAK/solutions_repo
| -rw-r--r-- | routes/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/index.js b/routes/index.js index d3c55e6..359ba4f 100644 --- a/routes/index.js +++ b/routes/index.js @@ -96,7 +96,7 @@ router.get('/search', function(req, res, next) { router.get('/questions/:exam_id', function (req,res) { var examID = req.params.exam_id; console.log(examID); - dbFile.get_exam_byID(examID, function(exam){ + dbFile.get_exam_byID(examID, function(success, error, exam){ /* [ { q_id: 1, question: 'this is q1' }, |
