We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79cc817 commit 573e5fbCopy full SHA for 573e5fb
src/Webhook/Registration/WebhookSubscriber.php
@@ -91,7 +91,7 @@ private function getConfigToCheck(BeforeSystemConfigMultipleChangedEvent|SystemC
91
$config = $event->getConfig();
92
$routeName = (string) $this->requestStack->getMainRequest()?->attributes->getString('_route');
93
94
- if (!$this->webhookSystemConfigHelper->needsCheck($config) || \str_contains($routeName, 'api.action.paypal.settings.save')) {
+ if (\str_contains($routeName, 'api.action.paypal.settings.save') || !$this->webhookSystemConfigHelper->needsCheck($config)) {
95
return null;
96
}
97
0 commit comments