Skip to content

Commit

Permalink
[Webhook] Remove parameter setting method to GET.
Browse files Browse the repository at this point in the history
(Duh)
  • Loading branch information
floere committed May 24, 2014
1 parent cc76245 commit 9c1c3c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/webhook.rb
Expand Up @@ -130,7 +130,7 @@ def self.start_child_process_thread
#
if message && !targets.empty?
encoded_message = URI.encode(message)
cmd = %Q(curl -X POST -sfGL --data "message=#{encoded_message}" --connect-timeout 1 --max-time 1 {#{targets}})
cmd = %Q(curl -X POST -sfL --data "message=#{encoded_message}" --connect-timeout 1 --max-time 1 {#{targets}})
fork { exec cmd }
Process.waitall
end
Expand Down

0 comments on commit 9c1c3c6

Please sign in to comment.