From f07471b42aa46d67199198c8411520fa3c6f33b9 Mon Sep 17 00:00:00 2001 From: David McDonald Date: Mon, 25 Jan 2021 11:09:49 +0000 Subject: [PATCH] Update app/broadcast_message/rest.py Co-authored-by: Chris Hill-Scott --- app/broadcast_message/rest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/broadcast_message/rest.py b/app/broadcast_message/rest.py index 111790be5..b88b48d7b 100644 --- a/app/broadcast_message/rest.py +++ b/app/broadcast_message/rest.py @@ -49,7 +49,7 @@ def _update_broadcast_message(broadcast_message, new_status, updating_user): ) if new_status == BroadcastStatusType.BROADCASTING: - # trial mode services can approve their own broadcasts + # training mode services can approve their own broadcasts if updating_user == broadcast_message.created_by and not broadcast_message.service.restricted: raise InvalidRequest( f'User {updating_user.id} cannot approve their own broadcast_message {broadcast_message.id}',