mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
Service deafault radio checked by default, existing tests pass.
This commit is contained in:
@@ -452,10 +452,10 @@ class LetterTemplateForm(EmailTemplateForm):
|
||||
choices=[
|
||||
('first', 'First class'),
|
||||
('second', 'Second class'),
|
||||
('service_default', "Service default"),
|
||||
('None', "Service default"),
|
||||
],
|
||||
validators=[DataRequired()],
|
||||
default='service_default'
|
||||
default='None'
|
||||
)
|
||||
|
||||
subject = TextAreaField(
|
||||
|
||||
@@ -178,7 +178,7 @@ class ServiceAPIClient(NotifyAdminAPIClient):
|
||||
data.update({
|
||||
'postage': postage
|
||||
})
|
||||
elif postage == "service_default":
|
||||
elif postage == 'None':
|
||||
data.update({
|
||||
'postage': None
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user