Returning the right content type when returning the upload ticket
This commit is contained in:
1 parent
eeba7c3573
commit
2927412b3c
1 file changed
+1
@@ -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)
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user