Skip to content

Commit 1ed94fa

Browse files
ooookaidavideast
authored andcommitted
Update database.md (#1379)
1 parent fcf1f64 commit 1ed94fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/rxfire/docs/database.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ list(ref).subscribe(changes => {
8080
list(ref)
8181
.pipe(
8282
map(changes => changes.map(c => {
83-
return { _key: c.snapshot.key, event: c.event, ...c.snapshot.val(); };
84-
))
83+
return { _key: c.snapshot.key, event: c.event, ...c.snapshot.val() }
84+
})
8585
)
8686
.subscribe(users => { console.log(users); })
8787

0 commit comments

Comments
 (0)