Skip to content

Commit

Permalink
update Inquiriies::Retriever (#16347)
Browse files Browse the repository at this point in the history
Co-authored-by: khoa-v-nguyen <[email protected]>
  • Loading branch information
Khoa-V-Nguyen and Khoa-V-Nguyen authored Apr 15, 2024
1 parent 9e780a2 commit 6a70c96
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 6a70c96

Please sign in to comment.