use insured and buyer instead
All checks were successful
Build and Publish / build-release (push) Successful in 1m26s

This commit is contained in:
2026-04-27 14:10:53 -05:00
parent 7feef642ca
commit b23ad883f3

View File

@@ -56,7 +56,8 @@ defmodule WorkloadService.Consumers.QuoteRequestedConsumer do
"id" => %{"org_id" => org_id, "application_id" => app_id, "policy_type" => policy_type},
"provider_id" => provider_id,
"policy_details" => policy_details,
"applicant_info" => applicant_info
"insured" => insured,
"buyer" => buyer
} = event
) do
task_id = WorkloadService.Aggregates.TaskId.new(org_id, "quote", Ecto.UUID.generate())
@@ -68,7 +69,8 @@ defmodule WorkloadService.Consumers.QuoteRequestedConsumer do
attachments: [],
task_info: %{
"provider_id" => provider_id,
"applicant_info" => applicant_info,
"insured" => insured,
"buyer" => buyer,
"policy_details" => policy_details,
"provider_email" => Map.get(event, "provider_email")
}