if ($message->
getSecret()) { $requestContent[AuthMiddleware::APP_REQUEST_TYPE
] =
[ AuthMiddleware::APP_SECRET =>
$message->
getSecret(),
];
} $context = Context::
createDefaultContext();
$this->webhookEventLogRepository->
update([ [ 'id' =>
$message->
getWebhookEventId(),
'deliveryStatus' => WebhookEventLogDefinition::STATUS_RUNNING,
'timestamp' =>
$timestamp,
'requestContent' =>
$requestContent,
],
],
$context);
try { $response =
$this->client->
post($url,
$requestContent);
$this->webhookEventLogRepository->
update([ [