Explorar o código

Update ApachePingWebsitesWithCurl.php

Bozhidar Slaveykov hai 1 ano
pai
achega
ba8bb2e4d5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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();