Skip to content

Commit

Permalink
fix: case of license domain config name
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim committed Oct 17, 2024
1 parent a6547a0 commit bc86fb6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Config/ConfigFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ private static function fillConfig(ProjectConfiguration $projectConfiguration, a
}

if (isset($deployment['store']) && \is_array($deployment['store'])) {
if (isset($deployment['store']['licenseDomain']) && \is_string($deployment['store']['licenseDomain'])) {
$projectConfiguration->store->licenseDomain = $deployment['store']['licenseDomain'];
if (isset($deployment['store']['license-domain']) && \is_string($deployment['store']['license-domain'])) {
$projectConfiguration->store->licenseDomain = $deployment['store']['license-domain'];
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
deployment:
store:
licenseDomain: "example.com"
license-domain: "example.com"

0 comments on commit bc86fb6

Please sign in to comment.