From afd758916ad37779e487869febb86cad721f430d Mon Sep 17 00:00:00 2001 From: Paul Bob <69730720+Paul-Bob@users.noreply.github.com> Date: Fri, 12 Jul 2024 19:24:05 +0300 Subject: [PATCH] fix: debug_controller syntax error (#2977) --- app/controllers/avo/debug_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/avo/debug_controller.rb b/app/controllers/avo/debug_controller.rb index 682d2eb38f..3cea463e26 100644 --- a/app/controllers/avo/debug_controller.rb +++ b/app/controllers/avo/debug_controller.rb @@ -12,7 +12,7 @@ def send_to_hq body = params[:body] body = {license_key: license_key, body: body, payload: Avo::Services::DebugService.debug_report(request).to_json}.to_json - Avo::Licensing::Request.post url, body:, timeout: + Avo::Licensing::Request.post(url, body:, timeout:) render turbo_stream: turbo_stream.replace(:send_to_hq, plain: "Payload sent to Avo HQ.") end