type fixes
This commit is contained in:
@@ -198,12 +198,14 @@ class Queue
|
||||
->limit(0, $batchSize)
|
||||
->find();
|
||||
|
||||
$webhook = $this->entityManager->getEntity(Webhook::ENTITY_TYPE, $webhookId);
|
||||
$webhook = $this->entityManager->getEntityById(Webhook::ENTITY_TYPE, $webhookId);
|
||||
|
||||
if (!$webhook || !$webhook->get('isActive')) {
|
||||
foreach ($itemList as $item) {
|
||||
$this->deleteQueueItem($item);
|
||||
}
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
$forbiddenAttributeList = [];
|
||||
|
||||
Reference in New Issue
Block a user