From 8b13048ec18314a7df56091a77446fe6f0307982 Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Wed, 3 Jul 2013 13:24:41 -0400 Subject: [PATCH] hash change --- src/admin/categories.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/admin/categories.js b/src/admin/categories.js index 55d398606a..b1c822f9d1 100644 --- a/src/admin/categories.js +++ b/src/admin/categories.js @@ -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