Only show donate notif on production installs.

This commit is contained in:
Buster Neece 2023-11-18 23:40:26 -06:00
parent 24218355bb
commit 670bbcd1de
No known key found for this signature in database
1 changed files with 4 additions and 0 deletions

View File

@ -16,6 +16,10 @@ final class DonateAdvisorCheck
public function __invoke(GetNotifications $event): void
{
if (!$this->environment->isProduction()) {
return;
}
$request = $event->getRequest();
$rateLimit = $request->getRateLimit();