Skip to content

Commit

Permalink
SC-7186: EntryPoint has incorect case (#213)
Browse files Browse the repository at this point in the history
* EntryPoint has incorect case

* Update index.php

* Update index.php
  • Loading branch information
alexanderM91 authored Jun 30, 2021
1 parent d9e2949 commit 42ec5ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generator/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

1 comment on commit 42ec5ef

@yuklia
Copy link

@yuklia yuklia commented on 42ec5ef Sep 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Please sign in to comment.