diff --git a/Helper/SendCustomer.php b/Helper/SendCustomer.php
index 00c1e6d8e2e255fc7acfdf8bb7aec140c567b3b5..2fee255a02e950eb1da1d10193e3a90cc7fc8e81 100755
--- a/Helper/SendCustomer.php
+++ b/Helper/SendCustomer.php
@@ -84,6 +84,7 @@ class SendCustomer extends AbstractHelper
      */
     public function execute(string $origin, CustomerInterface $customer)
     {
+        return 'toto';
         /* Mise en place des données du customer dans le tableau de data */
         $this->data[0]['id'] = $customer->getId();
         $this->data[0]['firstname'] = $customer->getFirstname();
diff --git a/Observer/CustomerRegisterSuccess.php b/Observer/CustomerRegisterSuccess.php
deleted file mode 100644
index 075b93f82c4558d02c4ee11aeedba5946a7fed2a..0000000000000000000000000000000000000000
--- a/Observer/CustomerRegisterSuccess.php
+++ /dev/null
@@ -1,55 +0,0 @@
-<?php
-namespace NicolasBejean\Customer\Observer;
-
-use Magento\Framework\Event\Observer;
-use Magento\Framework\Event\ObserverInterface;
-
-use Magento\Customer\Api\Data\CustomerInterface;
-
-use NicolasBejean\Customer\Helper\SendCustomer;
-
-/**
- * Class CustomerRegisterSuccess
- *
- * @category PHP
- * @package NicolasBejean\Customer\Observer
- * @author   Nicolas Béjean <nicolas@bejean.eu>
- * @license  https://lab.frogg.it/bejean-developpement/magento-2/modules/customer/-/blob/master/LICENCE GPL3 Licence
- * @link     https://www.bejean.eu
- */
-class CustomerRegisterSuccess implements ObserverInterface
-{
-    /**
-     * @var SendCustomer
-     */
-    protected SendCustomer $sendCustomer;
-
-    /**
-     * CustomerRegisterSuccess constructor.
-     * @param SendCustomer $sendCustomer
-     */
-    public function __construct(
-        SendCustomer $sendCustomer
-    ) {
-        $this->sendCustomer = $sendCustomer;
-    }
-
-    /**
-     * Execute method
-     *
-     * @param Observer $observer
-     */
-    public function execute(Observer $observer)
-    {
-        /* Récupère l'événement */
-        $event = $observer->getEvent();
-
-        /* Vérifie si le nom de l'événement est bien celui souhaité */
-        if ($event->getName() === 'customer_register_success') {
-            /** @var CustomerInterface $customer */
-            $customer = $observer->getData('customer');
-
-            $this->sendCustomer->execute('frontend', $customer);
-        }
-    }
-}
diff --git a/Observer/SendCustomerDataToElasticsearch.php b/Observer/SendCustomerDataToElasticsearch.php
new file mode 100644
index 0000000000000000000000000000000000000000..778b6fefd4fe9b8d541f3a85d0d4fdfa9001c515
--- /dev/null
+++ b/Observer/SendCustomerDataToElasticsearch.php
@@ -0,0 +1,33 @@
+<?php
+namespace NicolasBejean\Customer\Observer;
+
+use Magento\Framework\Event\Observer;
+use Magento\Framework\Event\ObserverInterface;
+
+/**
+ * Class SendCustomerDataToElasticsearch
+ *
+ * @category PHP
+ * @package  NicolasBejean\Customer\Observer
+ * @author   Nicolas Béjean <nicolas@bejean.eu>
+ * @license  https://lab.frogg.it/bejean-developpement/magento-2/modules/customer/-/blob/master/LICENCE GPL3 Licence
+ * @link     https://www.bejean.eu
+ */
+class SendCustomerDataToElasticsearch implements ObserverInterface
+{
+    public function __construct() {}
+
+    /**
+     * Execute method
+     *
+     * @param Observer $observer
+     */
+    public function execute(Observer $observer)
+    {
+        $event = $observer->getEvent();
+
+        if ($event->getName() === 'customer_register_success') {
+
+        }
+    }
+}
diff --git a/etc/events.xml b/etc/events.xml
index fd4b642e0f8e9dc60ea139fd8196f9896d3bbd90..db75584a5928128f6a5b9705be7633fc2173bf36 100644
--- a/etc/events.xml
+++ b/etc/events.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
     <event name="customer_register_success">
-        <observer name="myCustomerRegisterSuccessEvent" instance="NicolasBejean\Customer\Observer\CustomerRegisterSuccess" />
+        <observer name="send_customer_data_to_elasticsearch" instance="NicolasBejean\Customer\Observer\SendCustomerDateToElasticsearch" />
     </event>
 </config>