mirror of
https://github.com/GSA/notifications-api.git
synced 2026-09-10 10:03:38 -04:00
fix delete_inbound_sms_older_than_retention and dao_get_inbound_sms_by_id
This commit is contained in:
@@ -134,7 +134,7 @@ def delete_inbound_sms_older_than_retention():
|
|||||||
.join(ServiceDataRetention.service)
|
.join(ServiceDataRetention.service)
|
||||||
.filter(ServiceDataRetention.notification_type == NotificationType.SMS)
|
.filter(ServiceDataRetention.notification_type == NotificationType.SMS)
|
||||||
)
|
)
|
||||||
flexible_data_retention = db.session.execute(stmt).all()
|
flexible_data_retention = db.session.execute(stmt).scalars().all()
|
||||||
|
|
||||||
deleted = 0
|
deleted = 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user