add default empty array to user.completedChallenges
This commit is contained in:
@ -149,7 +149,8 @@
|
|||||||
},
|
},
|
||||||
"challengesHash": {},
|
"challengesHash": {},
|
||||||
"currentChallenge": {},
|
"currentChallenge": {},
|
||||||
"completedChallenges": [{
|
"completedChallenges": {
|
||||||
|
"type": [{
|
||||||
"completedDate": "number",
|
"completedDate": "number",
|
||||||
"_id": "string",
|
"_id": "string",
|
||||||
"name": "string",
|
"name": "string",
|
||||||
@ -162,6 +163,8 @@
|
|||||||
"default": 0
|
"default": 0
|
||||||
}
|
}
|
||||||
}],
|
}],
|
||||||
|
"default": []
|
||||||
|
},
|
||||||
"uncompletedChallenges": "array"
|
"uncompletedChallenges": "array"
|
||||||
},
|
},
|
||||||
"validations": [],
|
"validations": [],
|
||||||
|
Reference in New Issue
Block a user