Skip to content

Commit

Permalink
fix: webhook validation
Browse files Browse the repository at this point in the history
fix: webhook validation
  • Loading branch information
mateus-picoloto authored Nov 14, 2023
2 parents a0b8a54 + f1f9d2c commit 9c9e927
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Middle/Model/Account.php
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ private function validateWebhooks($storeSettings = null)
continue;
}
foreach ($siteUrls as $siteUrl) {
if (strpos($siteUrl, $webhook->url) !== false) {
if (strpos($webhook->url, $siteUrl) !== false) {
return;
}
}
Expand Down

0 comments on commit 9c9e927

Please sign in to comment.