mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 17:31:14 -05:00
Merge pull request #722 from alphagov/whitepace-in-personalisation
Ignore case and whitespace in personalisation keys
This commit is contained in:
@@ -72,10 +72,7 @@ def process_job(job_id):
|
||||
'job': str(job.id),
|
||||
'to': recipient,
|
||||
'row_number': row_number,
|
||||
'personalisation': {
|
||||
key: personalisation.get(key)
|
||||
for key in template.placeholders
|
||||
}
|
||||
'personalisation': dict(personalisation)
|
||||
})
|
||||
|
||||
if template.template_type == SMS_TYPE:
|
||||
|
||||
Reference in New Issue
Block a user