fix: upgrade script key

This commit is contained in:
Barış Soner Uşaklı
2018-12-14 16:51:32 -05:00
parent 00afc5b3ab
commit 0eef3e1c27

View File

@@ -14,7 +14,7 @@ module.exports = {
let keys; let keys;
async.waterfall([ async.waterfall([
function (next) { function (next) {
db.getSortedSetRange('categories:cids', 0, -1, next); db.getSortedSetRange('categories:cid', 0, -1, next);
}, },
function (cids, next) { function (cids, next) {
keys = cids.map(cid => 'cid:' + cid + ':ignorers'); keys = cids.map(cid => 'cid:' + cid + ':ignorers');