File tree Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Expand file tree Collapse file tree 2 files changed +14
-11
lines changed Original file line number Diff line number Diff line change 7
7
{
8
8
"type" : " node" ,
9
9
"request" : " launch" ,
10
- "name" : " get-restaurants " ,
10
+ "name" : " get-index " ,
11
11
"program" : " ${workspaceFolder}/node_modules/.bin/sls" ,
12
12
"args" : [
13
13
" invoke" ,
14
14
" local" ,
15
15
" -f" ,
16
- " get-restaurants " ,
16
+ " get-index " ,
17
17
" -d" ,
18
18
" {}"
19
19
],
20
20
"env" : {
21
- "restaurant_table" : " restaurants"
21
+ "restaurants_api" : " https://i3c5h755j0.execute-api.us-east-1.amazonaws.com/dev/restaurants" ,
22
+ "cognito_user_pool_id" : " us-east-1_DfuAwa0vB" ,
23
+ "cognito_client_id" : " 49lunjf7j7vsgmq9lhtfn4q7ma" ,
24
+ "SLS_DEBUG" : " *"
22
25
}
23
26
},
24
27
{
25
28
"type" : " node" ,
26
29
"request" : " launch" ,
27
- "name" : " get-index " ,
30
+ "name" : " get-restaurants " ,
28
31
"program" : " ${workspaceFolder}/node_modules/.bin/sls" ,
29
32
"args" : [
30
33
" invoke" ,
31
34
" local" ,
32
35
" -f" ,
33
- " get-index " ,
36
+ " get-restaurants " ,
34
37
" -d" ,
35
38
" {}"
36
39
],
37
40
"env" : {
38
- "restaurant_api" : " https://i3c5h755j0.execute-api.us-east-1.amazonaws.com/dev/restaurants" ,
39
- "cognito_user_pool_id" : " us-east-1_DfuAwa0vB" ,
40
- "cognito_client_id" : " 1tf8pb1s1n53p7u608e7ic5ih8" ,
41
+ "restaurants_table" : " restaurants" ,
41
42
"SLS_DEBUG" : " *"
42
43
}
43
44
},
51
52
" local" ,
52
53
" -f" ,
53
54
" search-restaurants" ,
54
- " -d " ,
55
- " { \" body \" : \" { \\\" theme \\\" : \\\" cartoon \\\" } \" } "
55
+ " -p " ,
56
+ " examples/search-restaurants.json "
56
57
],
57
58
"env" : {
58
- "restaurant_table" : " restaurants"
59
+ "restaurants_table" : " restaurants" ,
60
+ "SLS_DEBUG" : " *"
59
61
}
60
62
},
61
63
{
Original file line number Diff line number Diff line change
1
+ { "body" : " { \" theme\" : \" cartoon\" }" }
You can’t perform that action at this time.
0 commit comments