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