[debug] first test on lambda for tms2geotiff functions (fix response body)
Browse files- src/app.py +1 -1
src/app.py
CHANGED
@@ -32,7 +32,7 @@ def get_response(status: int, start_time: float, request_id: str, response_body
|
|
32 |
response = {
|
33 |
"statusCode": status,
|
34 |
"header": {"Content-Type": content_types.APPLICATION_JSON},
|
35 |
-
"body":
|
36 |
"isBase64Encoded": False
|
37 |
}
|
38 |
app_logger.info(f"response type:{type(response)} => {response}.")
|
|
|
32 |
response = {
|
33 |
"statusCode": status,
|
34 |
"header": {"Content-Type": content_types.APPLICATION_JSON},
|
35 |
+
"body": json.dumps(response_body),
|
36 |
"isBase64Encoded": False
|
37 |
}
|
38 |
app_logger.info(f"response type:{type(response)} => {response}.")
|