add some element in message

This commit is contained in:
aynsix
2021-12-02 16:50:09 +03:00
parent 2f93504ac5
commit dbca0718b5
13 changed files with 208 additions and 32 deletions

View File

@@ -160,7 +160,7 @@ class WebhookWorker implements WorkerInterface
if (!isset($payload['delivery_id'])) {
$webhookData = $webhookevent->getData();
$webhookData['time'] = $webhookevent->getCreated();
$webhookData['event_time'] = $webhookevent->getCreated();
$webhookData['url'] = $this->app['conf']->get(['servername'], '');
$webhookData['instance_name'] = $this->app['conf']->get(['registry', 'general', 'title'], '');
// a webhook version is also added when processing data