fix: upgrade script key

v1.18.x
Barış Soner Uşaklı 6 years ago
parent 00afc5b3ab
commit 0eef3e1c27

@ -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');

Loading…
Cancel
Save