JJuOn

Fix typo error

...@@ -44,7 +44,7 @@ ChallengeSchema.methods.getStatus=function(){ ...@@ -44,7 +44,7 @@ ChallengeSchema.methods.getStatus=function(){
44 44
45 ChallengeSchema.methods.serialize=function(){ 45 ChallengeSchema.methods.serialize=function(){
46 let challengeJSON = this.toJSON(); 46 let challengeJSON = this.toJSON();
47 - delete challenge._id; 47 + delete challengeJSON._id;
48 return challengeJSON; 48 return challengeJSON;
49 } 49 }
50 50
......