mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-20 07:21:13 -05:00
notify-api-433b remove research mode
This commit is contained in:
@@ -539,7 +539,6 @@ def get_detailed_services(start_date, end_date, only_active=False, include_from_
|
||||
'id': str(rows[0].service_id),
|
||||
'name': rows[0].name,
|
||||
'notification_type': rows[0].notification_type,
|
||||
'research_mode': rows[0].research_mode,
|
||||
'restricted': rows[0].restricted,
|
||||
'active': rows[0].active,
|
||||
'created_at': rows[0].created_at,
|
||||
@@ -692,7 +691,7 @@ def verify_reply_to_email_address(service_id):
|
||||
reply_to_text=notify_service.get_default_reply_to_email_address()
|
||||
)
|
||||
|
||||
send_notification_to_queue(saved_notification, False, queue=QueueNames.NOTIFY)
|
||||
send_notification_to_queue(saved_notification, queue=QueueNames.NOTIFY)
|
||||
|
||||
return jsonify(data={"id": saved_notification.id}), 201
|
||||
|
||||
|
||||
@@ -81,7 +81,6 @@ def send_one_off_notification(service_id, post_data):
|
||||
|
||||
send_notification_to_queue(
|
||||
notification=notification,
|
||||
research_mode=service.research_mode,
|
||||
queue=queue_name,
|
||||
)
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ def send_notification_to_service_users(service_id, template_id, personalisation=
|
||||
key_type=KEY_TYPE_NORMAL,
|
||||
reply_to_text=notify_service.get_default_reply_to_email_address()
|
||||
)
|
||||
send_notification_to_queue(notification, False, queue=QueueNames.NOTIFY)
|
||||
send_notification_to_queue(notification, queue=QueueNames.NOTIFY)
|
||||
|
||||
|
||||
def _add_user_fields(user, personalisation, fields):
|
||||
|
||||
Reference in New Issue
Block a user