calololback

(how the hell was this working?)
This commit is contained in:
psychobunny
2014-09-03 18:08:47 -04:00
parent 4736a68534
commit f609b1e45d

View File

@@ -302,7 +302,7 @@ var async = require('async'),
Topics.getMainPost = function(tid, uid, callback) { Topics.getMainPost = function(tid, uid, callback) {
Topics.getMainPosts([tid], uid, function(err, mainPosts) { 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);
}); });
}; };