File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ Then deploy the following sync rules:
6060bucket_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
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ Then deploy the following sync rules:
3737bucket_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
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ Then deploy the following sync rules:
3333bucket_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
You can’t perform that action at this time.
0 commit comments