Skip to content

Commit 438fd3f

Browse files
committed
update README
1 parent 94a369d commit 438fd3f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -184,9 +184,9 @@ await client.batch.addToMany(activityTarget, feeds!);
184184
185185
// Batch create follow relations (let flat:1 follow user:1, user:2 and user:3 feeds in one single request)
186186
const follows = [
187-
FollowRelation('flat:1', 'user:1'),
188-
FollowRelation('flat:1', 'user:2'),
189-
FollowRelation('flat:1', 'user:3'),
187+
FollowRelation(source: 'flat:1', target: 'user:1'),
188+
FollowRelation(source:'flat:1', target: 'user:2'),
189+
FollowRelation(source:'flat:1', target: 'user:3'),
190190
];
191191
192192
// ⚠️ server-side only!

0 commit comments

Comments
 (0)