Skip to content

Commit ef2c286

Browse files
committed
fixed bug in pwhttp
1 parent c201b55 commit ef2c286

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pypwext/pwhttp.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -458,7 +458,7 @@ def wrapper(*args, **kwargs):
458458

459459
# Extract the body data
460460
body_data: bytes = None
461-
original_body: Optional[any] = None
461+
original_body: Optional[Any] = None
462462

463463
if body and body in in_args:
464464

@@ -629,7 +629,7 @@ def _invoke_lambda(
629629

630630
text = response.payload_as_text()
631631
if text != '':
632-
d['body'] = self._try_to_dict(text)
632+
d['body'] = self.adapter._try_to_dict(text)
633633

634634
self.logger.log(
635635
self.adapter.out_level,

0 commit comments

Comments
 (0)