mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-23 00:41:35 -05:00
Stop emailing Notify when an MOU is signed
We've decided we don't get any value from these emails any more, so this stops us (Notify support) receiving them. We still let teams know an MOU has been signed.
This commit is contained in:
@@ -208,13 +208,6 @@ def send_notifications_on_mou_signed(organisation_id):
|
||||
'on_behalf_of_name': organisation.agreement_signed_on_behalf_of_name
|
||||
}
|
||||
|
||||
# let notify team know something's happened
|
||||
_send_notification(
|
||||
current_app.config['MOU_NOTIFY_TEAM_ALERT_TEMPLATE_ID'],
|
||||
'notify-support+{}@digital.cabinet-office.gov.uk'.format(current_app.config['NOTIFY_ENVIRONMENT']),
|
||||
personalisation
|
||||
)
|
||||
|
||||
if not organisation.agreement_signed_on_behalf_of_email_address:
|
||||
signer_template_id = 'MOU_SIGNER_RECEIPT_TEMPLATE_ID'
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user