From 1562b0d3d8ca01cbbc054245923e718dab81d9b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Nicolas=20B=C3=A9jean?= <nicolas@bejean.eu>
Date: Mon, 11 May 2020 20:57:54 +0200
Subject: [PATCH] Correction d'un eventPrefix dans di.xml

---
 CHANGELOG.md   | 4 ++++
 composer.json  | 2 +-
 etc/di.xml     | 2 +-
 etc/module.xml | 2 +-
 4 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index d015170..ee753a5 100755
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,9 @@
 # Changelog
 
+## [2.0.2] - 2020-05-11
+### Changed
+- Correction d'un eventPrefix dans di.xml
+
 ## [2.0.1] - 2020-05-10
 ### Deleted
 - Suppression de la variable $activeContent
diff --git a/composer.json b/composer.json
index 29b4f89..8cc5b23 100755
--- a/composer.json
+++ b/composer.json
@@ -2,7 +2,7 @@
     "name": "nicolasbejean/categorywidget",
     "description": "Afficher une liste de catégories",
     "type": "magento2-module",
-    "version": "2.0.1",
+    "version": "2.0.2",
     "require": {
         "php": "~7.1.3||~7.2.0||~7.3.0",
         "magento/framework": "102.0.*",
diff --git a/etc/di.xml b/etc/di.xml
index ccea2bf..ae3117c 100755
--- a/etc/di.xml
+++ b/etc/di.xml
@@ -62,7 +62,7 @@
         <arguments>
             <argument name="mainTable" xsi:type="string">nicolasbejean_categorywidget</argument>
             <argument name="eventPrefix" xsi:type="string">categorywidget_grid_collection</argument>
-            <argument name="eventObject" xsi:type="string">ategorywidget_grid_collection</argument>
+            <argument name="eventObject" xsi:type="string">categorywidget_grid_collection</argument>
             <argument name="resourceModel" xsi:type="string">NicolasBejean\CategoryWidget\Model\ResourceModel\CategoryWidget</argument>
         </arguments>
     </type>
diff --git a/etc/module.xml b/etc/module.xml
index e14998c..db23323 100755
--- a/etc/module.xml
+++ b/etc/module.xml
@@ -1,6 +1,6 @@
 <?xml version="1.0"?>
 <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
-    <module name="NicolasBejean_CategoryWidget" setup_version="2.0.1">
+    <module name="NicolasBejean_CategoryWidget" setup_version="2.0.2">
         <sequence>
             <module name="Magento_Backend"/>
             <module name="Magento_Catalog"/>
-- 
GitLab