浏览代码

Update ApachePingWebsitesWithCurl.php

Bozhidar Slaveykov 1 年之前
父节点
当前提交
ba8bb2e4d5
共有 1 个文件被更改,包括 1 次插入1 次删除
  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();