mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
allow self approval on development
This commit is contained in:
@@ -209,7 +209,7 @@ def _create_broadcast_event(broadcast_message):
|
||||
|
||||
dao_save_object(event)
|
||||
|
||||
if not broadcast_message.stubbed or current_app.config['NOTIFY_ENVIRONMENT'] == 'preview':
|
||||
if not broadcast_message.stubbed or current_app.config['NOTIFY_ENVIRONMENT'] in ['preview', 'development']:
|
||||
send_broadcast_event.apply_async(
|
||||
kwargs={'broadcast_event_id': str(event.id)},
|
||||
queue=QueueNames.BROADCASTS
|
||||
|
||||
Reference in New Issue
Block a user