mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 07:21:13 -05:00
reformat up to latest version of black
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user