diff --git a/app/dao/inbound_sms_dao.py b/app/dao/inbound_sms_dao.py index e7d0a9dff..eeec016ce 100644 --- a/app/dao/inbound_sms_dao.py +++ b/app/dao/inbound_sms_dao.py @@ -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()