add checkout

This commit is contained in:
2025-12-23 10:56:38 -03:00
parent a524666837
commit 6eff69f168
12 changed files with 840 additions and 356 deletions

View File

@@ -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