add default empty array to user.completedChallenges

This commit is contained in:
Berkeley Martinez
2015-06-04 13:09:22 -07:00
parent b2aafd89e7
commit a695daa03f

View File

@ -149,19 +149,22 @@
}, },
"challengesHash": {}, "challengesHash": {},
"currentChallenge": {}, "currentChallenge": {},
"completedChallenges": [{ "completedChallenges": {
"completedDate": "number", "type": [{
"_id": "string", "completedDate": "number",
"name": "string", "_id": "string",
"completedWith": "string", "name": "string",
"solution": "string", "completedWith": "string",
"githubLink": "string", "solution": "string",
"verified": "boolean", "githubLink": "string",
"challengeType": { "verified": "boolean",
"type": "number", "challengeType": {
"default": 0 "type": "number",
} "default": 0
}], }
}],
"default": []
},
"uncompletedChallenges": "array" "uncompletedChallenges": "array"
}, },
"validations": [], "validations": [],