From 3e24f218281afb60a1ecbc261af4d9e5ae8437c6 Mon Sep 17 00:00:00 2001 From: Berkeley Martinez Date: Wed, 24 Jun 2015 08:24:13 -0700 Subject: [PATCH] fix comment model defaults --- common/models/comment.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/common/models/comment.json b/common/models/comment.json index da6bb755d1..ec29a05c98 100644 --- a/common/models/comment.json +++ b/common/models/comment.json @@ -22,14 +22,15 @@ }, "rank": { "type": "number", - "default": "-Infinity" + "default": 0 }, "upvotes": { "type": "array", "default": [] }, "author": { - "type": {} + "type": {}, + "default": {} }, "comments": { "type": "array",