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 +};