Updates as per review comments

This commit is contained in:
Rebecca Law
2017-11-28 11:05:56 +00:00
parent ab5b7c20a7
commit b0d88ec08c
3 changed files with 18 additions and 7 deletions

View File

@@ -4,7 +4,8 @@ from app.dao.service_sms_sender_dao import dao_get_service_sms_senders_by_id
from app.notifications.validators import (
check_service_over_daily_message_limit,
validate_and_format_recipient,
validate_template, check_service_sms_sender_id)
validate_template
)
from app.notifications.process_notifications import (
persist_notification,
send_notification_to_queue,
@@ -15,7 +16,9 @@ from app.models import (
KEY_TYPE_NORMAL,
PRIORITY,
SMS_TYPE,
EMAIL_TYPE, LETTER_TYPE)
EMAIL_TYPE,
LETTER_TYPE
)
from app.dao.services_dao import dao_fetch_service_by_id
from app.dao.templates_dao import dao_get_template_by_id_and_service_id
from app.dao.users_dao import get_user_by_id