diff --git a/app/Console/Commands/CurlYdOrderListCommand.php b/app/Console/Commands/CurlYdOrderListCommand.php index 5f913cd1..318139e8 100644 --- a/app/Console/Commands/CurlYdOrderListCommand.php +++ b/app/Console/Commands/CurlYdOrderListCommand.php @@ -2,11 +2,10 @@ namespace App\Console\Commands; -use App\Models\State; +use App\Classes\Jobs\FetchOrdersFromYDPortalJob; use App\Http\Helpers\General; use Illuminate\Console\Command; -use App\Jobs\CurlYdOrderListJob; class CurlYdOrderListCommand extends Command { @@ -42,6 +41,6 @@ class CurlYdOrderListCommand extends Command */ public function handle() { - return CurlYdOrderListJob::dispatch(); + return FetchOrdersFromYDPortalJob::dispatch(); } } diff --git a/app/Job/CurlYdOrderListJob.php b/app/Job/CurlYdOrderListJob.php deleted file mode 100644 index 378ada24..00000000 --- a/app/Job/CurlYdOrderListJob.php +++ /dev/null @@ -1,38 +0,0 @@ -make(FetchOrderListsFromYdPortalProcessor::class))->execute(); - } -}