Returning the right content type when returning the upload ticket

This commit is contained in:
2020-06-09 14:10:43 +02:00
parent eeba7c3573
commit 2927412b3c

View File

@@ -173,5 +173,6 @@ def on_event(event, context):
finally: finally:
return { return {
'statusCode': response_code, 'statusCode': response_code,
'headers': {'Content-Type': 'application/json'},
'body': json.dumps(response) 'body': json.dumps(response)
} }