mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
webhook privacy
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