add checkout
This commit is contained in:
@@ -36,7 +36,7 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool:
|
||||
file_bytes = _get_file_bytes(new_image['cert']['s3_uri'])
|
||||
file_base64 = base64.b64encode(file_bytes)
|
||||
|
||||
create_submission_from_pdf(
|
||||
r = create_submission_from_pdf(
|
||||
filename=new_image['id'],
|
||||
file=file_base64.decode('utf-8'),
|
||||
email_message={
|
||||
@@ -52,6 +52,7 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool:
|
||||
},
|
||||
],
|
||||
)
|
||||
logger.debug(r)
|
||||
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user