Skip to content

Commit

Permalink
create stat initailization
Browse files Browse the repository at this point in the history
  • Loading branch information
kokonut121 authored Oct 25, 2023
1 parent 28794f0 commit 9eee3e5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion routes/reviewers.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,11 @@ module.exports = (app, mongo) => {
units: req.body.units,
hourRefactor: question.hourRefactor,
writtenDate: question.writtenDate,
reviewers: question.reviewers
reviewers: question.reviewers,
stats: {
pass: 0,
fail: 0
}
});
newQ.save();
}
Expand Down

0 comments on commit 9eee3e5

Please sign in to comment.