remove unnecessary job_types arg from remove_csv_files celery tasks

This commit is contained in:
Leo Hemsted
2019-01-22 10:31:37 +00:00
parent f316c1d02b
commit f5198bf71d
2 changed files with 30 additions and 43 deletions

View File

@@ -42,14 +42,14 @@ from app.cronitor import cronitor
@notify_celery.task(name="remove_sms_email_jobs")
@cronitor("remove_sms_email_jobs")
@statsd(namespace="tasks")
def remove_sms_email_csv_files(job_types):
def remove_sms_email_csv_files():
_remove_csv_files([EMAIL_TYPE, SMS_TYPE])
@notify_celery.task(name="remove_letter_jobs")
@cronitor("remove_letter_jobs")
@statsd(namespace="tasks")
def remove_letter_csv_files(job_types):
def remove_letter_csv_files():
_remove_csv_files([LETTER_TYPE])