From 6a70c96c51a44acb496b0f07d5eda2e60e35c8d3 Mon Sep 17 00:00:00 2001 From: Khoa Nguyen <134089461+Khoa-V-Nguyen@users.noreply.github.com> Date: Mon, 15 Apr 2024 13:40:26 -0600 Subject: [PATCH] update Inquiriies::Retriever (#16347) Co-authored-by: khoa-v-nguyen --- modules/ask_va_api/app/lib/ask_va_api/inquiries/retriever.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ask_va_api/app/lib/ask_va_api/inquiries/retriever.rb b/modules/ask_va_api/app/lib/ask_va_api/inquiries/retriever.rb index d3a25005728..eb2c9dd01b5 100644 --- a/modules/ask_va_api/app/lib/ask_va_api/inquiries/retriever.rb +++ b/modules/ask_va_api/app/lib/ask_va_api/inquiries/retriever.rb @@ -29,7 +29,7 @@ def fetch_data(id = nil) filter_data(data, id) else endpoint = 'inquiries' - payload = id ? { icn: } : { id: } + payload = id ? { id: } : { icn: } response = Crm::Service.new(icn:).call(endpoint:, payload:) handle_response_data(response)