Update call to newer function sig

This commit is contained in:
Fabien O'Carroll 2014-02-26 13:08:34 +00:00
parent 5bee123972
commit d0e94403e2

View File

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