hash change

This commit is contained in:
Baris Usakli
2013-07-03 13:24:41 -04:00
parent 478479658f
commit 8b13048ec1

View File

@@ -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