Commit eac366a9 authored by Uwe Kleinmann's avatar Uwe Kleinmann
Browse files

Sets correct content type on web hook execution.

parent 48fdb259b4f2
......@@ -13,7 +13,7 @@ class WebHook < ActiveRecord::Base
message: "should be a valid url" }
def execute(data), body: data.to_json), body: data.to_json, headers: { "Content-Type" => "application/json" })
# There was a problem calling this web hook, let's forget about it.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment