add cert_expires_at

This commit is contained in:
2025-10-15 15:10:47 -03:00
parent 54c92b3996
commit ffa04d9b15
37 changed files with 371 additions and 230 deletions

View File

@@ -35,10 +35,10 @@ def lambda_handler(event: EventBridgeEvent, context: LambdaContext) -> bool:
except konviva.EmailAlreadyExistsError as exc:
logger.exception(exc, email=new_image['email'])
result = konviva.get_users_by_email(new_image['email'])
user_id = glom(result, '0.IDUsuario')
r = konviva.get_users_by_email(new_image['email'])
user_id = glom(r, '0.IDUsuario')
if not result:
if not r:
raise UserNotFoundError('User not found')
except Exception:
raise