Correction d'une erreur sur le tweetnews
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
namespace App\Http\Controllers;
|
namespace App\Http\Controllers;
|
||||||
|
|
||||||
|
use App\Jobs\ProcessNews;
|
||||||
use App\Jobs\ProcessTweet;
|
use App\Jobs\ProcessTweet;
|
||||||
use App\Models\Account;
|
use App\Models\Account;
|
||||||
use Illuminate\Support\Facades\Cache;
|
use Illuminate\Support\Facades\Cache;
|
||||||
@@ -285,7 +286,7 @@ class AccountController extends Controller
|
|||||||
$accounts = Account::where('enable', true)->get();
|
$accounts = Account::where('enable', true)->get();
|
||||||
|
|
||||||
foreach($accounts as $user){
|
foreach($accounts as $user){
|
||||||
ProcessTweet::dispatch($user->id, 0);
|
ProcessNews::dispatch($user->id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user