From be27d9937118254d7bf724514638ea22cf18d53f Mon Sep 17 00:00:00 2001
From: Fabrice Gangler <fabrice.gangler@adullact.org>
Date: Tue, 10 Oct 2023 15:42:31 +0200
Subject: [PATCH] fix(api): update API version

---
 Documentation/API/README.md                   | 2 +-
 src/Controller/Api/V1/SoftwaresController.php | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/Documentation/API/README.md b/Documentation/API/README.md
index 06defaea..9f28c58d 100644
--- a/Documentation/API/README.md
+++ b/Documentation/API/README.md
@@ -30,7 +30,7 @@ Example:
 ```json
 {
   "api_documentation": {
-    "version": "1.2.0",
+    "version": "1.2.1",
     "changelog": "https://gitlab.adullact.net/Comptoir/Comptoir-srv/-/tree/develop/Documentation/API/CHANGELOG.md",
     "documentation": "https://gitlab.adullact.net/Comptoir/Comptoir-srv/-/tree/develop/Documentation/API/",
     "deprecated": {}
diff --git a/src/Controller/Api/V1/SoftwaresController.php b/src/Controller/Api/V1/SoftwaresController.php
index 16a57664..cefb3e4c 100644
--- a/src/Controller/Api/V1/SoftwaresController.php
+++ b/src/Controller/Api/V1/SoftwaresController.php
@@ -330,7 +330,7 @@ class SoftwaresController extends AppController
         $docUrl = 'https://gitlab.adullact.net/Comptoir/Comptoir-srv/-/tree/main/Documentation/API/';
         $data = [
             'api_documentation'  => [
-                'version' => '1.2.0',
+                'version' => '1.2.1',
                 'changelog' => "$changelog",
                 'documentation' => "$docUrl",
                 'deprecated' => [
-- 
GitLab