Update schema to return default letter contact for a service

This commit is contained in:
Imdad Ahad
2017-09-26 15:09:02 +01:00
committed by Katie Smith
parent 4eebd9a83c
commit cb37ba5f78
3 changed files with 6 additions and 4 deletions

View File

@@ -150,8 +150,7 @@ def sample_service(
'message_limit': limit,
'restricted': restricted,
'email_from': email_from,
'created_by': user,
'letter_contact_block': letter_contact_block,
'created_by': user
}
service = Service.query.filter_by(name=service_name).first()
if not service: