Skip to content

Commit

Permalink
chore: apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Oct 3, 2023
1 parent d9e3838 commit 6a47c4f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/runtime/entries/aws-lambda.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ export async function handler(
headers: normalizeLambdaIncomingHeaders(event.headers),
method,
query,
body: event.isBase64Encoded ? Buffer.from(event.body, 'base64').toString('utf8') : event.body,
body: event.isBase64Encoded
? Buffer.from(event.body, "base64").toString("utf8")
: event.body,
});

// ApiGateway v2 https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-develop-integrations-lambda.html#http-api-develop-integrations-lambda.v2
Expand Down

0 comments on commit 6a47c4f

Please sign in to comment.