diff --git a/src/Notification/Check/DonateAdvisorCheck.php b/src/Notification/Check/DonateAdvisorCheck.php index 8578c9867..49a9855a7 100644 --- a/src/Notification/Check/DonateAdvisorCheck.php +++ b/src/Notification/Check/DonateAdvisorCheck.php @@ -16,6 +16,10 @@ final class DonateAdvisorCheck public function __invoke(GetNotifications $event): void { + if (!$this->environment->isProduction()) { + return; + } + $request = $event->getRequest(); $rateLimit = $request->getRateLimit();