Skip to content

Commit a6cf692

Browse files
committed
forgot those values still have their foreigners
1 parent 73ae085 commit a6cf692

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ groupsRef.push({ name: 'cool kids table' }, () => {
104104
groupsRef.getValue((err, groups) => {
105105
deepEqual(groups[0], {
106106
name: 'cool kids table',
107+
members: { '-Jev95piCGXV9jX4ellH': true },
107108
_id: '-Jev95pjLLtDmIxbGhcF',
108109
// woah what's this?
109110
_indexes: {
@@ -117,7 +118,6 @@ groupsRef.getValue((err, groups) => {
117118

118119
// now you can easily go lookup the users from the members
119120
var userRef = usersRef.child(groups[0]._indexes.members[0]);
120-
121121
});
122122

123123
// keys work similarly
@@ -131,6 +131,7 @@ coolKidMessages.push({
131131
coolKidMessages.getValue((err, value) => {
132132
deepEqual(value[0], {
133133
content: 'guhhhh i hate 3rd period',
134+
author: '-Jev95piCGXV9jX4ellH',
134135
_id: '-Jev95pjLLtDmIxbGhcF'
135136
_links: {
136137
author: 'users/-Jev95piCGXV9jX4ellH'

0 commit comments

Comments
 (0)