Merge pull request #1832 from GSA/celery_tasks

fix celery bug
This commit is contained in:
Kenneth Kehl
2025-07-14 12:30:16 -07:00
committed by GitHub

View File

@@ -73,10 +73,12 @@ def delete_notifications_older_than_retention():
)
@notify_celery.task(name="delete-sms-notifications-older-than-retention")
def delete_sms_notifications_older_than_retention():
_delete_notifications_older_than_retention_by_type(NotificationType.SMS)
@notify_celery.task(name="delete-email-notifications-older-than-retention")
def delete_email_notifications_older_than_retention():
_delete_notifications_older_than_retention_by_type(NotificationType.EMAIL)