add default empty array to user.completedChallenges

pull/936/head
Berkeley Martinez 2015-06-04 13:09:22 -07:00
parent b2aafd89e7
commit a695daa03f
1 changed files with 16 additions and 13 deletions

View File

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