Skip to content

Commit

Permalink
Renaming Message Audience 'CUSTOMER' TO 'EXTERNAL'
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-pond committed Mar 27, 2024
1 parent fe37cf0 commit d240b4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions temporal/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class MessageLevel(str, Enum):
class MessageAudience(str, Enum):
ALL = 'All'
INTERNAL = 'Internal'
CUSTOMER = 'External'
EXTERNAL = 'External'

class ResultMessage(NamedTuple):
audience: MessageAudience
Expand Down Expand Up @@ -219,5 +219,5 @@ def add_result_to_crs(self, crs_instance):

if each_message.audience in (MessageAudience.ALL, MessageAudience.INTERNAL):
crs_instance.add_internal_message(str(each_message))
if each_message.audience in (MessageAudience.ALL, MessageAudience.CUSTOMER):
if each_message.audience in (MessageAudience.ALL, MessageAudience.EXTERNAL):
crs_instance.add_customer_message(str(each_message))

0 comments on commit d240b4e

Please sign in to comment.