Skip to content

Commit

Permalink
Fixes #31948 - Use rendered URL for requests
Browse files Browse the repository at this point in the history
  • Loading branch information
ofedoren authored and lzap committed Feb 24, 2021
1 parent d0f3d05 commit 8dd5f6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/services/foreman_webhooks/webhook_service.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def execute
logger.debug("Headers: #{rendered_headers}")
end

response = self.class.request(url: webhook.target_url,
response = self.class.request(url: rendered_url,
payload: payload,
http_method: webhook.http_method,
user: webhook.user,
Expand Down

0 comments on commit 8dd5f6f

Please sign in to comment.