Skip to content

Node.js based forum software built for the modern web

fix: upgrade script key

Barış Soner Uşaklı0eef3e1c2702
diff --git a/src/upgrades/1.12.0/category_watch_state.js b/src/upgrades/1.12.0/category_watch_state.js
index 20c3aa221c..178b7a0354 100644
--- a/src/upgrades/1.12.0/category_watch_state.js
+++ b/src/upgrades/1.12.0/category_watch_state.js
@@ -14,7 +14,7 @@ module.exports = {
let keys;
async.waterfall([
function (next) {
- db.getSortedSetRange('categories:cids', 0, -1, next);
+ db.getSortedSetRange('categories:cid', 0, -1, next);
},
function (cids, next) {
keys = cids.map(cid => 'cid:' + cid + ':ignorers');