File tree Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Expand file tree Collapse file tree 2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 99 "react-scripts" : " ^3.0.0"
1010 },
1111 "scripts" : {
12- "start" : " run-p start:**" ,
13- "start:app" : " react-scripts start" ,
12+ "start" : " react-scripts start" ,
1413 "start:lambda" : " netlify-lambda serve src/lambda" ,
1514 "build" : " run-p build:**" ,
1615 "build:app" : " react-scripts build" ,
Original file line number Diff line number Diff line change 1- // show object spread works, i.e. babel works
2- const obj = {
3- foo : 'bar'
4- } ;
51export function handler ( event , context , callback ) {
6- console . log ( ' queryStringParameters' , event . queryStringParameters ) ;
2+ console . log ( " queryStringParameters" , event . queryStringParameters )
73 callback ( null , {
84 statusCode : 200 ,
9- body : JSON . stringify ( { msg : ' Hello, World!' , ... obj } )
10- } ) ;
5+ body : JSON . stringify ( { msg : " Hello, World!" } )
6+ } )
117}
You can’t perform that action at this time.
0 commit comments