FEATURE: Add instance id in the webhook payload

This commit is contained in:
Erick Guan 2016-11-04 15:18:18 +01:00
parent f63850b3db
commit dd58c00699
No known key found for this signature in database
GPG Key ID: 10075E9E76407351

View File

@ -46,6 +46,7 @@ module Jobs
'Content-Type' => content_type,
'Host' => uri.host,
'User-Agent' => "Discourse/" + Discourse::VERSION::STRING,
'X-Discourse-Instance' => Discourse.base_url,
'X-Discourse-Event-Id' => web_hook_event.id,
'X-Discourse-Event-Type' => @opts[:event_type]
}