mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 05:59:44 -04:00
Fix letter branding preview
Template preview requires `template_type` to be passed in now.
This commit is contained in:
@@ -248,7 +248,8 @@ def letter_branding_preview_image(filename):
|
||||
'The point of using Lorem Ipsum is that it has a more-or-less '
|
||||
'normal distribution of letters, as opposed to using ‘Content '
|
||||
'here, content here’, making it look like readable English.'
|
||||
)
|
||||
),
|
||||
'template_type': 'letter',
|
||||
}
|
||||
filename = None if filename == 'no-branding' else filename
|
||||
|
||||
|
||||
Reference in New Issue
Block a user