mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-24 01:11:38 -05:00
Merge pull request #428 from alphagov/rename-tasks-final-deploy
Remove the extra task
This commit is contained in:
@@ -287,12 +287,6 @@ def send_sms(service_id, notification_id, encrypted_notification, created_at):
|
||||
current_app.logger.exception(e)
|
||||
|
||||
|
||||
@notify_celery.task(name="send-email-v2")
|
||||
def send_email_v2(service_id, notification_id,
|
||||
encrypted_notification, created_at, reply_to_addresses=None):
|
||||
send_email(service_id, notification_id, encrypted_notification, created_at, reply_to_addresses=None)
|
||||
|
||||
|
||||
@notify_celery.task(name="send-email")
|
||||
def send_email(service_id, notification_id, encrypted_notification, created_at, reply_to_addresses=None):
|
||||
task_start = monotonic()
|
||||
|
||||
Reference in New Issue
Block a user