diff --git a/app/Http/Controllers/EmployerController.php b/app/Http/Controllers/EmployerController.php index 8af629b..88508db 100644 --- a/app/Http/Controllers/EmployerController.php +++ b/app/Http/Controllers/EmployerController.php @@ -116,7 +116,7 @@ class EmployerController extends Controller $id = Auth()->user()->id; $categories = Category::query()->active()->get(); - $Positions = Positions::query()->active()->get(); + $Positions = Category::query()->active()->get(); if ($Positions->count()) { $jobs = Job_title::query()->OrderBy('name')->where('position_id', $Positions[0]->id)->get(); } else {