mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-19 05:58:53 -04: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)
|
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")
|
@notify_celery.task(name="send-email")
|
||||||
def send_email(service_id, notification_id, encrypted_notification, created_at, reply_to_addresses=None):
|
def send_email(service_id, notification_id, encrypted_notification, created_at, reply_to_addresses=None):
|
||||||
task_start = monotonic()
|
task_start = monotonic()
|
||||||
|
|||||||
Reference in New Issue
Block a user