Commit a014c149 authored by Rene Saarsoo's avatar Rene Saarsoo
Browse files

Remove extra var statement.

Variable 'comment' is already a parameter, no 'var' needed.
parent d6a5e934
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -36,7 +36,7 @@ exports.formatComments = function(comments, req) {

    return _.map(comments, function(comment) {

        var comment = _.extend(comment._doc, {
        comment = _.extend(comment._doc, {
            score: comment.upVotes.length - comment.downVotes.length,
            createdAt: String(comment.createdAt)
        });