From b289615a967fba3d788987f25063950be644880b Mon Sep 17 00:00:00 2001 From: benitav Date: Tue, 20 Aug 2024 13:08:21 +0000 Subject: [PATCH] Use new sync rules syntax --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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