Skip to content

Commit

Permalink
HOTFIX - Cast UUID to String for Onsite Notifications (#1563)
Browse files Browse the repository at this point in the history
  • Loading branch information
k-macmillan authored Dec 7, 2023
1 parent 5488624 commit 2bb0693
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/notifications/process_notifications.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def send_to_queue_for_recipient_info_based_on_recipient_identifier(
deliver_task, deliver_queue = _get_delivery_task(notification)
if id_type == IdentifierType.VA_PROFILE_ID.value:
tasks = [
send_va_onsite_notification_task.s(id_value, notification.template.id, onsite_enabled)
send_va_onsite_notification_task.s(id_value, str(notification.template.id), onsite_enabled)
.set(queue=QueueNames.SEND_ONSITE_NOTIFICATION),
lookup_contact_info.si(notification.id).set(queue=QueueNames.LOOKUP_CONTACT_INFO),
deliver_task.si(notification.id).set(queue=deliver_queue)
Expand All @@ -273,7 +273,7 @@ def send_to_queue_for_recipient_info_based_on_recipient_identifier(
else:
tasks = [
lookup_va_profile_id.si(notification.id).set(queue=QueueNames.LOOKUP_VA_PROFILE_ID),
send_va_onsite_notification_task.s(notification.template.id, onsite_enabled)
send_va_onsite_notification_task.s(str(notification.template.id), onsite_enabled)
.set(queue=QueueNames.SEND_ONSITE_NOTIFICATION),
lookup_contact_info.si(notification.id).set(queue=QueueNames.LOOKUP_CONTACT_INFO),
deliver_task.si(notification.id).set(queue=deliver_queue)
Expand Down

0 comments on commit 2bb0693

Please sign in to comment.