use saclars() for extend

This commit is contained in:
Kenneth Kehl
2024-10-17 09:15:21 -07:00
parent a0db2b4610
commit 6c26db6b03

View File

@@ -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: