application_id in event is named id
Some checks failed
Build and Publish / build-release (push) Failing after 35s
Some checks failed
Build and Publish / build-release (push) Failing after 35s
This commit is contained in:
@@ -52,7 +52,7 @@ defmodule WorkloadService.Consumers.QuoteRequestedConsumer do
|
||||
|
||||
defp handle_event(
|
||||
%{
|
||||
"application_id" => application_id,
|
||||
"id" => application_id,
|
||||
"org_id" => org_id,
|
||||
"provider_id" => provider_id,
|
||||
"policy_type" => policy_type
|
||||
@@ -62,7 +62,7 @@ defmodule WorkloadService.Consumers.QuoteRequestedConsumer do
|
||||
|
||||
command = %QuoteTask.CreateTask{
|
||||
id: task_id,
|
||||
application_id: application_id,
|
||||
application_id: id,
|
||||
provider_id: provider_id,
|
||||
provider_name: Map.get(event, "provider_name", ""),
|
||||
task_info: %{
|
||||
|
||||
Reference in New Issue
Block a user