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

@@ -17,6 +17,7 @@ class UserProcessor implements ProcessorInterface
return [
'event' => $event->getName(),
'webhookId' => $event->getId(),
'version' => WebhookEvent::WEBHOOK_VERSION,
'url' => $data['url'],
'instance_name' => $data['instance_name'],
@@ -25,7 +26,7 @@ class UserProcessor implements ProcessorInterface
'email' => $data['email'],
'login' => $data['login'],
],
'time' => $data['time']
'event_time' => $data['event_time']
];
}
}