diff --git a/app/notifications/rest.py b/app/notifications/rest.py index a98cff336..7f4029a65 100644 --- a/app/notifications/rest.py +++ b/app/notifications/rest.py @@ -387,7 +387,6 @@ def send_notification(notification_type): send_email.apply_async(( service_id, notification_id, - '', encryption.encrypt(notification), datetime.utcnow().strftime(DATETIME_FORMAT) ), queue='email') diff --git a/tests/app/notifications/test_rest.py b/tests/app/notifications/test_rest.py index 0853e66f5..c87546f22 100644 --- a/tests/app/notifications/test_rest.py +++ b/tests/app/notifications/test_rest.py @@ -946,7 +946,6 @@ def test_should_allow_valid_email_notification(notify_api, sample_email_template app.celery.tasks.send_email.apply_async.assert_called_once_with( (str(sample_email_template.service_id), notification_id, - "", "something_encrypted", "2016-01-01T11:09:00.061258"), queue="email"