Skip to content

Commit 09c3406

Browse files
committed
Merge branch 'main' into chore/bump-versions
2 parents f904ad0 + 13572b2 commit 09c3406

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

demos/django-todolist/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Then deploy the following sync rules:
6060
bucket_definitions:
6161
user_lists:
6262
# Separate bucket per todo list
63-
parameters: select id as list_id from lists where owner_id = token_parameters.user_id
63+
parameters: select id as list_id from lists where owner_id = request.user_id()
6464
data:
6565
- select * from lists where id = bucket.list_id
6666
- select * from todos where list_id = bucket.list_id

demos/supabase-todolist-drift/README.md

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

demos/supabase-todolist/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Then deploy the following sync rules:
3333
bucket_definitions:
3434
user_lists:
3535
# Separate bucket per todo list
36-
parameters: select id as list_id from lists where owner_id = token_parameters.user_id
36+
parameters: select id as list_id from lists where owner_id = request.user_id()
3737
data:
3838
- select * from lists where id = bucket.list_id
3939
- select * from todos where list_id = bucket.list_id

0 commit comments

Comments
 (0)