From fa3f42fabfab3f0318fe3e023dddf36a3d0aeab8 Mon Sep 17 00:00:00 2001 From: Khoa Nguyen <134089461+Khoa-V-Nguyen@users.noreply.github.com> Date: Wed, 17 Apr 2024 10:47:50 -0600 Subject: [PATCH] fix bug (#16381) Co-authored-by: khoa-v-nguyen --- .../ask_va_api/app/lib/ask_va_api/correspondences/creator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ask_va_api/app/lib/ask_va_api/correspondences/creator.rb b/modules/ask_va_api/app/lib/ask_va_api/correspondences/creator.rb index 09d91f58cda..8e22434a394 100644 --- a/modules/ask_va_api/app/lib/ask_va_api/correspondences/creator.rb +++ b/modules/ask_va_api/app/lib/ask_va_api/correspondences/creator.rb @@ -29,7 +29,7 @@ def default_service def post_data(payload: {}) endpoint = "inquiries/#{inquiry_id}/reply/new" - response = service.call(endpoint:, payload:) + response = service.call(endpoint:, method: :post, payload:) handle_response_data(response) end