remove get-pdf-for-templated-letter

This commit is contained in:
stvnrlly
2022-12-07 11:46:26 -05:00
parent e1f517ebd5
commit 0252391c88
12 changed files with 3 additions and 1289 deletions

View File

@@ -16,7 +16,6 @@ from app import (
notify_celery,
)
from app.celery.letters_pdf_tasks import (
get_pdf_for_templated_letter,
sanitise_letter,
)
from app.celery.research_mode_tasks import create_fake_letter_response_file
@@ -385,11 +384,6 @@ def process_letter_notification(
postage=postage
)
get_pdf_for_templated_letter.apply_async(
[str(notification.id)],
queue=queue
)
if test_key and current_app.config['NOTIFY_ENVIRONMENT'] in ['preview', 'development']:
create_fake_letter_response_file.apply_async(
(notification.reference,),