We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf001a6 commit 9e8cedcCopy full SHA for 9e8cedc
aws_lambda_powertools/utilities/data_classes/common.py
@@ -65,7 +65,7 @@ def body(self) -> Optional[str]:
65
@property
66
def json_body(self) -> Any:
67
"""Parses the submitted body as json"""
68
- return json.loads(self["body"])
+ return json.loads(self.decoded_body)
69
70
71
def decoded_body(self) -> str:
0 commit comments