Skip to content

Commit

Permalink
Merge pull request #20 from FIAP-3SOAT-G15/fix-ssl
Browse files Browse the repository at this point in the history
fix: add response
  • Loading branch information
mateus3009 authored Mar 19, 2024
2 parents b5e034f + a5604e9 commit 1446e38
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/sign-up/lambda_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,9 @@ def lambda_handler(event, context):
UserPoolId=USER_POOL_ID, Username=username, GroupName="customer"
)
logging.info(response)

return {
"statusCode": 200,
"headers": {"Content-Type": "application/json"},
"body": json.dumps({ 'customer_id': customer_id }),
}

0 comments on commit 1446e38

Please sign in to comment.