fix delete_inbound_sms_older_than_retention and dao_get_inbound_sms_by_id

This commit is contained in:
Kenneth Kehl
2024-10-17 13:22:41 -07:00
parent dd4bf2abd3
commit 80d05532e7

View File

@@ -133,7 +133,6 @@ def delete_inbound_sms_older_than_retention():
select(ServiceDataRetention)
.join(ServiceDataRetention.service)
.filter(ServiceDataRetention.notification_type == NotificationType.SMS)
.all()
)
flexible_data_retention = db.session.execute(stmt).all()