diff options
| author | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-25 06:59:56 +0000 |
|---|---|---|
| committer | nanalelfe <nargiza.nosirova@mail.utoronto.ca> | 2016-07-25 06:59:56 +0000 |
| commit | 1032205c1a94ae31d780d2c339abbe628eb27fae (patch) | |
| tree | 7cc15d706f5fbd1c624341e781219710287088cf /routes/user.js | |
| parent | 553e5d112f34c6be19b388fea110dcdceb7015bd (diff) | |
| parent | 2b0ca1332175139e44235c3ac3390d5f26eae7e1 (diff) | |
Merge branch 'master' of https://github.com/HumairAK/solutions_repo
Diffstat (limited to 'routes/user.js')
| -rw-r--r-- | routes/user.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/user.js b/routes/user.js index f6ac438..b179236 100644 --- a/routes/user.js +++ b/routes/user.js @@ -101,7 +101,7 @@ router.post('/submit_solution/:examID/:qID', function(req,res){ comments = [], author = req.user.user_name; - var fields = [examID, qID, text, votes, comments, author]; + var fields = [examID, qID, text, author]; console.log(fields); // Add to database dbFile.add_solution(fields, function(addedSolution, statusMsg){ |
