add certs
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user