From 962955f06a1df02de04cd8f0c04ccf8734831465 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Fri, 17 Jan 2014 14:29:46 -0500 Subject: [PATCH] fixed bug with search (getTopicsByTids became error-first) --- src/routes/api.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/api.js b/src/routes/api.js index 700949d6e5..90f7222c6c 100644 --- a/src/routes/api.js +++ b/src/routes/api.js @@ -294,7 +294,7 @@ var path = require('path'), return callback(err, null); } - topics.getTopicsByTids(tids, 0, 0, function (topics) { + topics.getTopicsByTids(tids, 0, 0, function (err, topics) { callback(null, topics); }); });