diff --git a/src/Http/Controllers/PendingJobsController.php b/src/Http/Controllers/PendingJobsController.php index f9c27a3b..fabe058a 100644 --- a/src/Http/Controllers/PendingJobsController.php +++ b/src/Http/Controllers/PendingJobsController.php @@ -28,7 +28,7 @@ public function __construct(JobRepository $jobs) } /** - * Get all of the recent jobs. + * Get all of the pending jobs. * * @param \Illuminate\Http\Request $request * @return array @@ -43,7 +43,7 @@ public function index(Request $request) return [ 'jobs' => $jobs, - 'total' => $this->jobs->countRecent(), + 'total' => $this->jobs->countPending(), ]; }