Pass dvla_org_id through to template preview app

This commit is contained in:
Chris Hill-Scott
2017-04-20 12:15:30 +01:00
parent 61470391bf
commit cfc031cfbf
3 changed files with 6 additions and 3 deletions

View File

@@ -10,7 +10,8 @@ class TemplatePreview:
data = {
'letter_contact_block': current_service['letter_contact_block'],
'template': template,
'values': values
'values': values,
'dvla_org_id': current_service['dvla_organisation'],
}
resp = requests.post(
'{}/preview.{}'.format(current_app.config['TEMPLATE_PREVIEW_API_HOST'], filetype),