We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bcac255 commit 18b714bCopy full SHA for 18b714b
src/common/providers/database.ts
@@ -128,7 +128,7 @@ export class DataSnapshot implements database.DataSnapshot {
128
let source = this._data;
129
if (parts.length) {
130
for (const part of parts) {
131
- if (source[part] === undefined) {
+ if (source[part] === undefined || source[part] === null) {
132
return null;
133
}
134
source = source[part];
0 commit comments