fix comment model defaults

This commit is contained in:
Berkeley Martinez
2015-06-24 08:24:13 -07:00
parent 62d2c40a87
commit 3e24f21828

View File

@ -22,14 +22,15 @@
}, },
"rank": { "rank": {
"type": "number", "type": "number",
"default": "-Infinity" "default": 0
}, },
"upvotes": { "upvotes": {
"type": "array", "type": "array",
"default": [] "default": []
}, },
"author": { "author": {
"type": {} "type": {},
"default": {}
}, },
"comments": { "comments": {
"type": "array", "type": "array",