missed var keyword

This commit is contained in:
Yannik Schweinzer 2015-03-18 18:25:17 +01:00
parent 7c14e6b065
commit ea4d12aaf4

View file

@ -323,7 +323,7 @@ submitPost = function (post) {
// ------------------------------ Properties ------------------------------ // // ------------------------------ Properties ------------------------------ //
defaultProperties = { var defaultProperties = {
createdAt: new Date(), createdAt: new Date(),
author: getDisplayNameById(userId), author: getDisplayNameById(userId),
upvotes: 0, upvotes: 0,