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:
60
60
bucket_definitions :
61
61
user_lists :
62
62
# 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()
64
64
data :
65
65
- select * from lists where id = bucket.list_id
66
66
- 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:
37
37
bucket_definitions :
38
38
user_lists :
39
39
# 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()
41
41
data :
42
42
- select * from lists where id = bucket.list_id
43
43
- 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:
33
33
bucket_definitions :
34
34
user_lists :
35
35
# 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()
37
37
data :
38
38
- select * from lists where id = bucket.list_id
39
39
- select * from todos where list_id = bucket.list_id
You can’t perform that action at this time.
0 commit comments