fix webhooks

This commit is contained in:
Yuri Kuznetsov
2021-08-06 11:17:46 +03:00
parent 579c392a09
commit 58ffd93961
+1 -1
View File
@@ -248,7 +248,7 @@ class Queue
$this->send($webhook, $dataList, $actualItemList);
}
private function prepareItemData(WebhookQueueItem $item, User $user, array $forbiddenAttributeList): ?stdClass
private function prepareItemData(WebhookQueueItem $item, ?User $user, array $forbiddenAttributeList): ?stdClass
{
$targetType = $item->get('targetType');
$target = null;