remove METADATA#COURSE

This commit is contained in:
2025-10-07 16:56:00 -03:00
parent 161b75db8d
commit 4fdf98a5b4
10 changed files with 40 additions and 31 deletions

View File

@@ -51,15 +51,6 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool:
'created_at': now_,
}
)
transact.put(
item={
'id': new_image['id'],
'sk': 'METADATA#COURSE',
'created_at': now_,
'access_period': access_period,
'cert': course.get('cert', None),
}
)
except Exception as exc:
logger.exception(exc)
return False