From 7fa688533bf968830c4e92c3497629b4ce9c5131 Mon Sep 17 00:00:00 2001 From: Ruslan Baidan Date: Fri, 4 Oct 2024 17:09:41 +0200 Subject: [PATCH] Added the app version to the config response. --- src/Controller/ApiConfigController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controller/ApiConfigController.php b/src/Controller/ApiConfigController.php index 0878944..d60c8ed 100644 --- a/src/Controller/ApiConfigController.php +++ b/src/Controller/ApiConfigController.php @@ -22,6 +22,6 @@ public function __construct(ConfigService $configService) public function getList() { - return new JsonModel($this->configService->getLanguage()); + return new JsonModel(array_merge($this->configService->getAppVersion(), $this->configService->getLanguage())); } }