mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 09:26:08 -05: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)
|
||||
.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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user