JuWon Seo
Committed by GitHub

Merge pull request #27 from FacerAin/feature/database

Fix model/participation.js
......@@ -27,6 +27,7 @@ ParticipationSchema.statics.findByGroupId=function(group){
ParticipationSchema.methods.addProblem=function(problem){
this.problems.push({problemNum:problem.problemNum,isSolved:problem.isSolved});
return this.save();
}
ParticipationSchema.methods.serialize=function(){
......