webhook privacy

This commit is contained in:
aynsix
2020-06-04 10:50:26 +03:00
parent fe0d9178e1
commit da2ce2471a

View File

@@ -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()]
); );
} }