mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 01:43:13 +00:00
Merge pull request #3521 from alchemy-fr/PHRAS-2680-webhook-privacy-security
PHRAS-2680 #comment merge Webhook Privacy and Security
This commit is contained in:
@@ -30,7 +30,8 @@ class WebhookSubdefEventSubscriber implements EventSubscriberInterface
|
|||||||
$this->app['manipulator.webhook-event']->create(
|
$this->app['manipulator.webhook-event']->create(
|
||||||
WebhookEvent::RECORD_SUBDEF_CREATED,
|
WebhookEvent::RECORD_SUBDEF_CREATED,
|
||||||
WebhookEvent::RECORD_SUBDEF_TYPE,
|
WebhookEvent::RECORD_SUBDEF_TYPE,
|
||||||
$eventData
|
$eventData,
|
||||||
|
[$event->getRecord()->getBaseId()]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -45,7 +46,8 @@ class WebhookSubdefEventSubscriber implements EventSubscriberInterface
|
|||||||
$this->app['manipulator.webhook-event']->create(
|
$this->app['manipulator.webhook-event']->create(
|
||||||
WebhookEvent::RECORD_SUBDEF_FAILED,
|
WebhookEvent::RECORD_SUBDEF_FAILED,
|
||||||
WebhookEvent::RECORD_SUBDEF_TYPE,
|
WebhookEvent::RECORD_SUBDEF_TYPE,
|
||||||
$eventData
|
$eventData,
|
||||||
|
[$event->getRecord()->getBaseId()]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -60,7 +62,8 @@ class WebhookSubdefEventSubscriber implements EventSubscriberInterface
|
|||||||
$this->app['manipulator.webhook-event']->create(
|
$this->app['manipulator.webhook-event']->create(
|
||||||
WebhookEvent::RECORD_SUBDEFS_CREATED,
|
WebhookEvent::RECORD_SUBDEFS_CREATED,
|
||||||
WebhookEvent::RECORD_SUBDEF_TYPE,
|
WebhookEvent::RECORD_SUBDEF_TYPE,
|
||||||
$eventData
|
$eventData,
|
||||||
|
[$event->getRecord()->getBaseId()]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user