From c6605ed5f0b80ebf2a9ac6b8c66cec35a6cfcec8 Mon Sep 17 00:00:00 2001 From: James Allen Date: Wed, 8 Jun 2016 16:41:58 +0100 Subject: [PATCH] Fix misapplied arguments to multi commands --- services/document-updater/app/coffee/RedisBackend.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/document-updater/app/coffee/RedisBackend.coffee b/services/document-updater/app/coffee/RedisBackend.coffee index 125aa29d03..630a780eb7 100644 --- a/services/document-updater/app/coffee/RedisBackend.coffee +++ b/services/document-updater/app/coffee/RedisBackend.coffee @@ -92,7 +92,7 @@ for command, key_pos of COMMANDS key = key_builder(client.key_schema) args_with_key = args.slice(0) args_with_key[key_pos] = key - client.rclient[command] key, args... + client.rclient[command] args_with_key... compareResults = (results) -> return if results.length < 2