mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 22:45:46 +01:00
hash change
This commit is contained in:
@@ -34,7 +34,7 @@ var RDB = require('./../redis.js'),
|
||||
var category = modified[cid];
|
||||
|
||||
for (var key in category) {
|
||||
RDB.set('cid:' + cid + ':' + key, category[key]);
|
||||
RDB.hset('category:' + cid, key, category[key]);
|
||||
|
||||
if (key == 'name') {
|
||||
// reset slugs if name is updated
|
||||
|
||||
Reference in New Issue
Block a user