FIX: strip webhook payload_url

This commit is contained in:
Arpit Jalan
2017-12-11 13:45:50 +05:30
parent 4b53be81cf
commit 3c56c9b637
3 changed files with 12 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ module Jobs
end
def web_hook_request(args, web_hook)
uri = URI(web_hook.payload_url)
uri = URI(web_hook.payload_url.strip)
conn = Excon.new(
uri.to_s,