From 165db34c4a57c73005a4c06b0e687bacf048cf21 Mon Sep 17 00:00:00 2001 From: Martin Date: Fri, 10 Jun 2022 17:28:07 +0200 Subject: [PATCH] fix(WebHookJob): missing find procedure --- app/jobs/web_hook_job.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/jobs/web_hook_job.rb b/app/jobs/web_hook_job.rb index d0f95b83e..731e7a9c1 100644 --- a/app/jobs/web_hook_job.rb +++ b/app/jobs/web_hook_job.rb @@ -10,7 +10,7 @@ class WebHookJob < ApplicationJob state: state, updated_at: updated_at } - + procedure = Procedure.find(procedure_id) Typhoeus.post(procedure.web_hook_url, body: body, timeout: TIMEOUT) end end