File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ this.user.id // -KguCoSMemQZw3JD6EPh
113113Object .keys (this .user ).includes (' id' ) // false
114114
115115// it originally comes from the `key` attribute
116- dbRef (db, ' users/ada ' ).key // 'ada '
116+ dbRef (db, ' users/-KguCoSMemQZw3JD6EPh ' ).key // '-KguCoSMemQZw3JD6EPh '
117117// More at https://firebase.google.com/docs/reference/js/database.datasnapshot.md#datasnapshotkey
118118```
119119
@@ -123,7 +123,7 @@ this.user.id // jORwjIykFn1NmkdzTkhU
123123Object .keys (this .user ).includes (' id' ) // false
124124
125125// it originally comes from the `id` attribute
126- doc (collection (db, ' users' ), ' ada ' ).id // 'ada '
126+ doc (collection (db, ' users' ), ' jORwjIykFn1NmkdzTkhU ' ).id // 'jORwjIykFn1NmkdzTkhU '
127127// More at https://firebase.google.com/docs/reference/js/firestore_.documentreference.md#documentreferenceid
128128```
129129
You can’t perform that action at this time.
0 commit comments