Ver Fonte

Update ApachePingWebsitesWithCurl.php

Bozhidar Slaveykov há 1 ano atrás
pai
commit
ba8bb2e4d5
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      web/app/Console/Commands/ApachePingWebsitesWithCurl.php

+ 1 - 1
web/app/Console/Commands/ApachePingWebsitesWithCurl.php

@@ -29,7 +29,7 @@ class ApachePingWebsitesWithCurl extends Command
     public function handle()
     {
         $findCustomer = \App\Models\Customer::first();
-        $findHostingPlan = \App\Models\HostingPlan::first();
+        $findHostingPlan = \App\Models\HostingPlan::where('slug','free-hosting-plan')->first();
 
         for ($i = 0; $i <= 50000; $i++) {
             $newSubscription = new \App\Models\HostingSubscription();