From d0e94403e2d2feaa103fcd7a3f46482a1a2abfd2 Mon Sep 17 00:00:00 2001 From: Fabien O'Carroll Date: Wed, 26 Feb 2014 13:08:34 +0000 Subject: [PATCH] Update call to newer function sig --- lib/spike/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/spike/index.js b/lib/spike/index.js index 32e48f53..23964962 100644 --- a/lib/spike/index.js +++ b/lib/spike/index.js @@ -237,7 +237,7 @@ var spike = module.exports = { // reopen, then we clear the timer, and they can continue to stream. pendingToKillStreaming[key] = setTimeout(function () { - binModel.updateBinData(req.bin, 'streaming_key', '', function (error) { + binModel.updateBinData(req.bin, {streaming_key: ''}, function (error) { if (error) { console.error(error); } @@ -414,4 +414,4 @@ var spike = module.exports = { }, utils: utils -}; \ No newline at end of file +};