Skip to content

Commit

Permalink
fix: Lambda response format is not valid for api gateway
Browse files Browse the repository at this point in the history
  • Loading branch information
krzysiekb committed Dec 29, 2023
1 parent 7372d2e commit a372193
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions backend/lambda/backend_lambda.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ def handler(event, context):
'headers': {
'Content-Type': 'application/json'
},
'inputMessage': input_message,
'outputMessage': output_message
'body': {
'inputMessage': input_message,
'outputMessage': output_message,
}
}

0 comments on commit a372193

Please sign in to comment.