mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-15 14:03:27 +00:00
Add third party application webhook event
This commit is contained in:
@@ -50,4 +50,12 @@ class ApiApplicationRepository extends EntityRepository
|
||||
|
||||
return $qb->getQuery()->getResult();
|
||||
}
|
||||
|
||||
public function findWithDefinedWebhookCallback()
|
||||
{
|
||||
$qb = $this->createQueryBuilder('app');
|
||||
$qb->where($qb->expr()->isNotNull('app.webhookUrl'));
|
||||
|
||||
return $qb->getQuery()->getResult();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user