Skip to content

Commit

Permalink
fix: webhook validation
Browse files Browse the repository at this point in the history
  • Loading branch information
Mateus Picoloto committed Nov 14, 2023
1 parent 254f3d4 commit 1bda22a
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 1bda22a

Please sign in to comment.