From f609b1e45d46f02099ec6f493c16a0d6c8cc4a2c Mon Sep 17 00:00:00 2001 From: psychobunny Date: Wed, 3 Sep 2014 18:08:47 -0400 Subject: [PATCH] calololback (how the hell was this working?) --- src/topics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/topics.js b/src/topics.js index f5fe901c59..99a1c6b761 100644 --- a/src/topics.js +++ b/src/topics.js @@ -302,7 +302,7 @@ var async = require('async'), Topics.getMainPost = function(tid, uid, callback) { Topics.getMainPosts([tid], uid, function(err, mainPosts) { - calllback(err, Array.isArray(mainPosts) && mainPosts.length ? mainPosts[0] : null); + callback(err, Array.isArray(mainPosts) && mainPosts.length ? mainPosts[0] : null); }); };