Skip to content

Commit 28a958c

Browse files
authored
Merge pull request #12 from archilogic-com/al-2379-body-parser-is-unnecessary-in-lambdas
fix: body type
2 parents b25852e + 55a6d43 commit 28a958c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/request.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export class Request {
4545
event: APIGatewayProxyEvent | APIGatewayProxyEventV2
4646
accept: accepts.Accepts
4747
res: Response | null
48-
body: string | undefined
48+
body: unknown
4949
constructor(event: APIGatewayProxyEvent | APIGatewayProxyEventV2) {
5050
this.res = null
5151

0 commit comments

Comments
 (0)