mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
add event name for ping webhooks in the header
This commit is contained in:
@@ -100,7 +100,7 @@ class Admin::WebHooksController < Admin::AdminController
|
||||
end
|
||||
|
||||
def ping
|
||||
Jobs.enqueue(:emit_web_hook_event, web_hook_id: @web_hook.id, event_type: 'ping')
|
||||
Jobs.enqueue(:emit_web_hook_event, web_hook_id: @web_hook.id, event_type: 'ping', event_name: 'ping')
|
||||
render json: success_json
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user