Remove references to computed service attribute

`prefix_sms` is the real database column, which should be referred to
from now on.
This commit is contained in:
Chris Hill-Scott
2017-11-07 11:08:26 +00:00
parent 65f20694cc
commit a358acfd05
4 changed files with 6 additions and 9 deletions

View File

@@ -288,7 +288,7 @@ def get_template(
return SMSPreviewTemplate(
template,
prefix=service['name'],
sender=not service['prefix_sms_with_service_name'],
sender=not service['prefix_sms'],
show_recipient=show_recipient,
redact_missing_personalisation=redact_missing_personalisation,
)