From 42ec5ef7e68d90efae95a67812a4de405d1919b7 Mon Sep 17 00:00:00 2001 From: Aleksandr Myrnyi Date: Wed, 30 Jun 2021 15:27:19 +0300 Subject: [PATCH] SC-7186: EntryPoint has incorect case (#213) * EntryPoint has incorect case * Update index.php * Update index.php --- generator/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generator/index.php b/generator/index.php index ffe44ba6c..7a1dfbb59 100644 --- a/generator/index.php +++ b/generator/index.php @@ -148,7 +148,7 @@ public function setIsActive(bool $isActive): void if ($endpointData === null) { $endpointData = []; } - $entryPoint = $endpointData['entry-point'] ?? str_replace('-', '', ucwords(strtolower(ENTRY_POINTS[$applicationData['application']]), '-')); + $entryPoint = $endpointData['entry-point'] ?? ENTRY_POINTS[$applicationData['application']] ?? str_replace('-', '', ucwords(strtolower($applicationName), '-')); $projectData['_entryPoints'][$entryPoint] = $entryPoint; $projectData['groups'][$groupName]['applications'][$applicationName]['endpoints'][$endpoint]['entry-point'] = $entryPoint;