fix py3
This commit is contained in:
parent
ba70d8fe8d
commit
88f64deff9
3 changed files with 3 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ from .models import apigateway_backends
|
|||
class APIGatewayResponse(BaseResponse):
|
||||
|
||||
def _get_param(self, key):
|
||||
return json.loads(self.body).get(key)
|
||||
return json.loads(self.body.decode("ascii")).get(key)
|
||||
|
||||
@property
|
||||
def backend(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue