Browse Source

Update ApachePingWebsitesWithCurl.php

Bozhidar Slaveykov 1 year ago
parent
commit
ba8bb2e4d5
1 changed files with 1 additions and 1 deletions
  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()
     public function handle()
     {
     {
         $findCustomer = \App\Models\Customer::first();
         $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++) {
         for ($i = 0; $i <= 50000; $i++) {
             $newSubscription = new \App\Models\HostingSubscription();
             $newSubscription = new \App\Models\HostingSubscription();