fix(WebHookJob): missing find procedure
This commit is contained in:
parent
8fdbbc7f88
commit
165db34c4a
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ class WebHookJob < ApplicationJob
|
||||||
state: state,
|
state: state,
|
||||||
updated_at: updated_at
|
updated_at: updated_at
|
||||||
}
|
}
|
||||||
|
procedure = Procedure.find(procedure_id)
|
||||||
Typhoeus.post(procedure.web_hook_url, body: body, timeout: TIMEOUT)
|
Typhoeus.post(procedure.web_hook_url, body: body, timeout: TIMEOUT)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue