add certs

This commit is contained in:
2025-09-01 16:34:02 -03:00
parent 5bd846338b
commit cbf8cada3d
16 changed files with 655 additions and 1108 deletions

View File

@@ -50,9 +50,7 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool:
'sk': 'METADATA#COURSE',
'created_at': now_,
'access_period': int(course['access_period']),
'cert': {
'exp_interval': int(course['cert']['exp_interval']),
},
'cert': course.get('cert', None),
}
)
except Exception as exc: