Skip to content

Commit

Permalink
Fix qt build
Browse files Browse the repository at this point in the history
  • Loading branch information
brizental committed Dec 14, 2020
1 parent a070e9a commit 76213b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export function updateNestedObject(
return returnObject;
} catch(e) {
console.error("Error while transforming stored value. Ignoring old value.", e.message);
target[finalKey] = transformFn();
target[finalKey] = transformFn(undefined);
return returnObject;
}
}
Expand Down

0 comments on commit 76213b1

Please sign in to comment.