File tree 1 file changed +2
-1
lines changed
1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -104,6 +104,7 @@ groupsRef.push({ name: 'cool kids table' }, () => {
104
104
groupsRef .getValue ((err , groups ) => {
105
105
deepEqual (groups[0 ], {
106
106
name: ' cool kids table' ,
107
+ members: { ' -Jev95piCGXV9jX4ellH' : true },
107
108
_id: ' -Jev95pjLLtDmIxbGhcF' ,
108
109
// woah what's this?
109
110
_indexes: {
@@ -117,7 +118,6 @@ groupsRef.getValue((err, groups) => {
117
118
118
119
// now you can easily go lookup the users from the members
119
120
var userRef = usersRef .child (groups[0 ]._indexes .members [0 ]);
120
-
121
121
});
122
122
123
123
// keys work similarly
@@ -131,6 +131,7 @@ coolKidMessages.push({
131
131
coolKidMessages .getValue ((err , value ) => {
132
132
deepEqual (value[0 ], {
133
133
content: ' guhhhh i hate 3rd period' ,
134
+ author: ' -Jev95piCGXV9jX4ellH' ,
134
135
_id: ' -Jev95pjLLtDmIxbGhcF'
135
136
_links: {
136
137
author: ' users/-Jev95piCGXV9jX4ellH'
You can’t perform that action at this time.
0 commit comments