mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 18:16:17 +01:00
added tag counts to api return
This commit is contained in:
@@ -101,6 +101,10 @@ module.exports = function(db, module) {
|
||||
});
|
||||
};
|
||||
|
||||
module.sortedSetsCard = function(keys, callback) {
|
||||
async.map(keys, module.sortedSetCard, callback);
|
||||
};
|
||||
|
||||
module.sortedSetRank = function(key, value, callback) {
|
||||
getSortedSetRank(module.getSortedSetRange, key, value, callback);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user