Skip to content

Commit

Permalink
release: 2.3.1
Browse files Browse the repository at this point in the history
Release 2.3.1
  • Loading branch information
mateus-picoloto authored Nov 14, 2023
2 parents 8f3fa3c + bfc8355 commit a0b8a54
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "pagarme/ecommerce-module-core",
"description": "Core component for Pagar.me e-commerce platform modules.",
"license": "MIT",
"version": "2.3.0",
"version": "2.3.1",
"authors": [
{
"name":"Open Source Team"
Expand Down
4 changes: 2 additions & 2 deletions src/Middle/Model/Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ private function validateDomain($storeSettings = null)
$siteUrls = $storeSettings->getStoreUrls();
foreach ($domains as $domain) {
foreach ($siteUrls as $siteUrl) {
if (strpos($domain, $siteUrl) !== false) {
if (strpos($siteUrl, $domain) !== false) {
return;
}
}
Expand All @@ -309,7 +309,7 @@ private function validateWebhooks($storeSettings = null)
continue;
}
foreach ($siteUrls as $siteUrl) {
if (strpos($webhook->url, $siteUrl) !== false) {
if (strpos($siteUrl, $webhook->url) !== false) {
return;
}
}
Expand Down

0 comments on commit a0b8a54

Please sign in to comment.