mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 03:27:01 +02:00
added tag counts to api return
This commit is contained in:
@@ -113,6 +113,10 @@ module.exports = function(db, module) {
|
||||
});
|
||||
};
|
||||
|
||||
module.sortedSetsCard = function(keys, callback) {
|
||||
async.map(keys, module.sortedSetCard, callback);
|
||||
};
|
||||
|
||||
module.sortedSetRank = function(key, value, callback) {
|
||||
module.getListRange(key, 0, -1, function(err, list) {
|
||||
for (var i = 0, ii=list.length; i< ii; i++) {
|
||||
|
||||
Reference in New Issue
Block a user