Skip to content

Commit

Permalink
fix: log response
Browse files Browse the repository at this point in the history
  • Loading branch information
rfoel committed May 16, 2022
1 parent 9b5ee2a commit fae53ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion handlers/cnpj.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const handler = async (

await close()

return {
response = {
statusCode: 200,
body: JSON.stringify({
...parsedData,
Expand Down
2 changes: 1 addition & 1 deletion serverless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ provider:
logRetentionInDays: 1
name: aws
region: us-east-1
runtime: nodejs16.x
runtime: nodejs14.x
stackName: cnpj
stage: ${opt:stage}

Expand Down

0 comments on commit fae53ef

Please sign in to comment.