Skip to content

Commit

Permalink
Return value for Batch Request
Browse files Browse the repository at this point in the history
  • Loading branch information
Luiz Henrique Gomes committed Jul 2, 2021
1 parent 7cedc6f commit f6edffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phhelper/aws_lambda_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ def generic_handler(event, context):
else:
batch_request = str(os.environ.get('BATCH_REQUEST','FALSE')).upper()
if (batch_request == 'TRUE'):
__batch_handler(f, event, context)
return __batch_handler(f, event, context)
else:
__records_handler(f, event, context)
elif 'requestContext' in event:
Expand Down

0 comments on commit f6edffa

Please sign in to comment.