From 36355b84d6cc9b2170dd9facb9662cda5c8e85b2 Mon Sep 17 00:00:00 2001 From: Vedran Opacic Date: Sun, 2 Nov 2014 00:42:47 +0100 Subject: [PATCH] parityDel lua script params parityDel lua only uses one key, the other variable should be ARGV --- lib/warlock.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/warlock.js b/lib/warlock.js index 640063d..7152369 100644 --- a/lib/warlock.js +++ b/lib/warlock.js @@ -58,7 +58,7 @@ module.exports = function(redis){ function(err, parityDel){ if (err) return cb(err); - return parityDel.run(2, warlock.makeKey(key), id, cb); + return parityDel.run(1, warlock.makeKey(key), id, cb); } ); };