We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fe71889 commit 6be3e99Copy full SHA for 6be3e99
database/helpers/index.ts
@@ -27,5 +27,5 @@ export const snapshotToData = <T>(
27
...(refField ? { [refField]: snapshot.ref } : null),
28
};
29
}
30
- return val;
+ return transform ? transform(val) : val;
31
0 commit comments