mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-16 20:48:37 -04:00
Rename first send_email to send_email_v1.
Fix the tests
This commit is contained in:
@@ -31,7 +31,7 @@ from app.schemas import (
|
||||
day_schema,
|
||||
unarchived_template_schema
|
||||
)
|
||||
from app.celery.tasks import send_sms, send_email_v2
|
||||
from app.celery.tasks import send_sms, send_email
|
||||
|
||||
notifications = Blueprint('notifications', __name__)
|
||||
|
||||
@@ -384,7 +384,7 @@ def send_notification(notification_type):
|
||||
datetime.utcnow().strftime(DATETIME_FORMAT)
|
||||
), queue='sms')
|
||||
else:
|
||||
send_email_v2.apply_async((
|
||||
send_email.apply_async((
|
||||
service_id,
|
||||
notification_id,
|
||||
'',
|
||||
|
||||
Reference in New Issue
Block a user