add error boundry

This commit is contained in:
2025-12-11 22:31:55 -03:00
parent 5a00ebfc19
commit 6556c3eabb
5 changed files with 17 additions and 3 deletions

View File

@@ -132,7 +132,7 @@ def enroll(
'sk': now_,
'enrolled': list(map(fmt, now_out)) if now_out else None,
'scheduled': list(map(fmt, later_out)) if later_out else None,
'ttl': ttl(start_dt=now_, days=30 * 6),
'ttl': ttl(start_dt=now_, days=30 * 3),
'created_by': {
'id': created_by.id,
'name': created_by.name,