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
fabiano-mallmann authored Nov 14, 2023
2 parents 15826dc + 1bda22a commit 55a4836
Showing 1 changed file with 1 addition and 1 deletion.
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 55a4836

Please sign in to comment.