add validation to data
This commit is contained in:
@@ -199,7 +199,6 @@ def _set_status_as_completed(
|
||||
start_dt=now_,
|
||||
days=cert_exp_interval - dedup_window_offset_days,
|
||||
)
|
||||
|
||||
transact.put(
|
||||
item={
|
||||
'id': id,
|
||||
@@ -309,14 +308,6 @@ def _set_status_as_failed(
|
||||
},
|
||||
exc_cls=EnrollmentConflictError,
|
||||
)
|
||||
transact.put(
|
||||
item={
|
||||
'id': id,
|
||||
'sk': 'FAILED',
|
||||
'created_at': now_,
|
||||
},
|
||||
cond_expr='attribute_not_exists(sk)',
|
||||
)
|
||||
# Remove reminders and events that no longer apply
|
||||
transact.delete(
|
||||
key=KeyPair(
|
||||
|
||||
Reference in New Issue
Block a user