diff --git a/app/Http/Controllers/AccountController.php b/app/Http/Controllers/AccountController.php index 3aedb2d..8362cd5 100644 --- a/app/Http/Controllers/AccountController.php +++ b/app/Http/Controllers/AccountController.php @@ -2,6 +2,7 @@ namespace App\Http\Controllers; +use App\Jobs\ProcessNews; use App\Jobs\ProcessTweet; use App\Models\Account; use Illuminate\Support\Facades\Cache; @@ -285,7 +286,7 @@ class AccountController extends Controller $accounts = Account::where('enable', true)->get(); foreach($accounts as $user){ - ProcessTweet::dispatch($user->id, 0); + ProcessNews::dispatch($user->id); } } }