mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:15:19 -05:00
use saclars() for extend
This commit is contained in:
@@ -180,7 +180,7 @@ def dao_get_jobs_older_than_data_retention(notification_types):
|
||||
stmt = select(ServiceDataRetention).filter(
|
||||
ServiceDataRetention.notification_type.in_(notification_types)
|
||||
)
|
||||
flexible_data_retention = db.session.execute(stmt).all()
|
||||
flexible_data_retention = db.session.execute(stmt).scalars().all()
|
||||
jobs = []
|
||||
today = utc_now().date()
|
||||
for f in flexible_data_retention:
|
||||
|
||||
Reference in New Issue
Block a user