mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-14 09:12:06 -05:00
fix celery bug
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user