From ea4d12aaf4691097761fd16afbc65b7137cc408b Mon Sep 17 00:00:00 2001 From: Yannik Schweinzer Date: Wed, 18 Mar 2015 18:25:17 +0100 Subject: [PATCH] missed `var` keyword --- collections/posts.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/collections/posts.js b/collections/posts.js index c8d01a1ed..4d00e0c95 100644 --- a/collections/posts.js +++ b/collections/posts.js @@ -323,7 +323,7 @@ submitPost = function (post) { // ------------------------------ Properties ------------------------------ // - defaultProperties = { + var defaultProperties = { createdAt: new Date(), author: getDisplayNameById(userId), upvotes: 0,