diff --git a/amplify/backend/analytics/chatqlreact/pinpoint-cloudformation-template.json b/amplify/backend/analytics/chatqlreact/pinpoint-cloudformation-template.json index 4bf7a95..5d15b99 100644 --- a/amplify/backend/analytics/chatqlreact/pinpoint-cloudformation-template.json +++ b/amplify/backend/analytics/chatqlreact/pinpoint-cloudformation-template.json @@ -183,7 +183,7 @@ " Name: appName", " }", " };", - " return pinpoint.createApp(params).promise()", + " pinpoint.createApp(params).promise()", " .then((res) => {", " responseData = res.ApplicationResponse;", " response.send(event, context, response.SUCCESS, responseData);", @@ -200,7 +200,7 @@ } }, "Handler": "index.handler", - "Runtime": "nodejs6.10", + "Runtime": "nodejs8.10", "Timeout": "300", "Role": { "Fn::GetAtt": [ @@ -411,4 +411,4 @@ } } } -} \ No newline at end of file +} diff --git a/amplify/backend/auth/cognito5a6ec086/cognito5a6ec086-cloudformation-template.yml b/amplify/backend/auth/cognito5a6ec086/cognito5a6ec086-cloudformation-template.yml index 78b08c6..9244df0 100644 --- a/amplify/backend/auth/cognito5a6ec086/cognito5a6ec086-cloudformation-template.yml +++ b/amplify/backend/auth/cognito5a6ec086/cognito5a6ec086-cloudformation-template.yml @@ -263,7 +263,7 @@ Resources: - ' }' - '};' Handler: index.handler - Runtime: nodejs6.10 + Runtime: nodejs8.10 Timeout: '300' Role: !GetAtt - UserPoolClientRole @@ -384,4 +384,4 @@ Outputs : - \ No newline at end of file +