diff --git a/index.js b/index.js index bd19cc7..273a6fa 100644 --- a/index.js +++ b/index.js @@ -472,6 +472,9 @@ module.exports = function(app) { } function processDelta(data) { + if (!data.updates || !data.updates.length || !data.updates[0].values || !data.updates[0].values.length) { + return; + } let dict = data.updates[0].values[0]; let path = dict.path; let value = dict.value;