reformat up to latest version of black

This commit is contained in:
Kenneth Kehl
2024-04-01 15:12:33 -07:00
parent 87db56622e
commit ebdb78e52e
241 changed files with 334 additions and 92 deletions

View File

@@ -28,9 +28,11 @@ def send_notification_to_service_users(
notification = persist_notification(
template_id=template.id,
template_version=template.version,
recipient=user.email_address
if template.template_type == TemplateType.EMAIL
else user.mobile_number,
recipient=(
user.email_address
if template.template_type == TemplateType.EMAIL
else user.mobile_number
),
service=notify_service,
personalisation=personalisation,
notification_type=template.template_type,