use set to get groups

This commit is contained in:
barisusakli
2015-08-06 16:25:36 -04:00
parent e60194292f
commit e341b80d93
2 changed files with 3 additions and 3 deletions

View File

@@ -105,8 +105,8 @@ var async = require('async'),
}
};
Groups.getGroups = function(start, stop, callback) {
db.getSortedSetRevRange('groups:createtime', start, stop, callback);
Groups.getGroups = function(set, start, stop, callback) {
db.getSortedSetRevRange(set, start, stop, callback);
};
Groups.get = function(groupName, options, callback) {