fix(WebHookJob): missing find procedure

This commit is contained in:
Martin 2022-06-10 17:28:07 +02:00
parent 8fdbbc7f88
commit 165db34c4a

View file

@ -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