More changes for enums.

Signed-off-by: Cliff Hill <Clifford.hill@gsa.gov>
This commit is contained in:
Cliff Hill
2024-02-28 12:41:57 -05:00
parent 820ee5a942
commit 43f18eed6a
24 changed files with 157 additions and 111 deletions

View File

@@ -122,7 +122,9 @@ def persist_notification(
notification.phone_prefix = recipient_info.country_prefix
notification.rate_multiplier = recipient_info.billable_units
elif notification_type == NotificationType.EMAIL:
current_app.logger.info(f"Persisting notification with type: {NotificationType.EMAIL}")
current_app.logger.info(
f"Persisting notification with type: {NotificationType.EMAIL}"
)
redis_store.set(
f"email-address-{notification.id}",
format_email_address(notification.to),