mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
send callback directly
except this time I'm fixing my own derps instead of @barisusakli
This commit is contained in:
@@ -93,9 +93,7 @@ var db = require('./database'),
|
||||
category.pageCount = results.pageCount;
|
||||
category.topic_row_size = 'col-md-9';
|
||||
|
||||
plugins.fireHook('filter:category.get', category, uid, function(err, category) {
|
||||
callback(err, category);
|
||||
});
|
||||
plugins.fireHook('filter:category.get', category, uid, callback);
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user