mirror of
https://github.com/discourse/discourse.git
synced 2025-03-31 05:05:54 +08:00
FEATURE: Add instance id in the webhook payload
This commit is contained in:
parent
f63850b3db
commit
dd58c00699
@ -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]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user