diff --git a/platform/safari/vapi-background.js b/platform/safari/vapi-background.js index a955cc902..efd9d20e6 100644 --- a/platform/safari/vapi-background.js +++ b/platform/safari/vapi-background.js @@ -158,7 +158,7 @@ result[key] = keys[key]; } localforage.iterate(function(value, key) { - if(!keys[key]) return; + if(!keys.hasOwnProperty(key)) return; if(typeof value === "string") { result[key] = JSON.parse(value); }