fix comment model defaults
This commit is contained in:
@ -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",
|
||||||
|
Reference in New Issue
Block a user