Skip to content

Commit 9039fc4

Browse files
Borsaliinojamesdaniels
authored andcommitted
docs(migration): problem with 'key' and '$key' in migration guide. (#1228)
1 parent 844c096 commit 9039fc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/version-5-upgrade.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ constructor(afDb: AngularFireDatabase) {
4545
const $key = action.payload.key;
4646
const data = { $key, ...action.payload.val() };
4747
return data;
48-
}).subscribe(item => console.log(item.key));
48+
}).subscribe(item => console.log(item.$key));
4949
}
5050
```
5151

0 commit comments

Comments
 (0)