merge from main

This commit is contained in:
Kenneth Kehl
2024-08-28 11:57:51 -07:00
10 changed files with 48 additions and 16 deletions

View File

@@ -188,7 +188,8 @@ def dao_get_jobs_older_than_data_retention(notification_types):
.all()
)
end_date = today - timedelta(days=7)
# notify-api-1287, make default data retention 7 days, 23 hours
end_date = today - timedelta(days=7, hours=23)
for notification_type in notification_types:
services_with_data_retention = [
x.service_id