add default empty array to user.completedChallenges
This commit is contained in:
@ -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": [],
|
||||||
|
Reference in New Issue
Block a user