Skip to content
This repository was archived by the owner on Dec 17, 2024. It is now read-only.

Commit 7696340

Browse files
authored
Merge pull request #1 from benitav/readme-patch
Use new sync rules syntax
2 parents 640feca + b289615 commit 7696340

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Then deploy the following sync rules:
4141
bucket_definitions:
4242
user_lists:
4343
# Separate bucket per todo list
44-
parameters: select id as list_id from lists where owner_id = token_parameters.user_id
44+
parameters: select id as list_id from lists where owner_id = request.user_id()
4545
data:
4646
- select * from lists where id = bucket.list_id
4747
- select * from todos where list_id = bucket.list_id

0 commit comments

Comments
 (0)