diff --git a/README.md b/README.md index b92d549..802477e 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ Then deploy the following sync rules: bucket_definitions: user_lists: # Separate bucket per todo list - parameters: select id as list_id from lists where owner_id = token_parameters.user_id + parameters: select id as list_id from lists where owner_id = request.user_id() data: - select * from lists where id = bucket.list_id - select * from todos where list_id = bucket.list_id