mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-14 23:07:49 -04:00
Merge pull request #1733 from alphagov/remove-dvla
Remove anything to do with DVLA format letters
This commit is contained in:
@@ -23,7 +23,7 @@ from notifications_utils.letter_timings import get_letter_timings
|
||||
from notifications_utils.template import (
|
||||
PlainTextEmailTemplate,
|
||||
SMSMessageTemplate,
|
||||
LetterDVLATemplate,
|
||||
LetterPrintTemplate,
|
||||
)
|
||||
|
||||
from app.encryption import (
|
||||
@@ -728,9 +728,8 @@ class TemplateBase(db.Model):
|
||||
{'content': self.content}
|
||||
)
|
||||
if self.template_type == LETTER_TYPE:
|
||||
return LetterDVLATemplate(
|
||||
return LetterPrintTemplate(
|
||||
{'content': self.content, 'subject': self.subject},
|
||||
notification_reference=1,
|
||||
contact_block=self.service.get_default_letter_contact(),
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user