Apply fixes from StyleCI

This commit is contained in:
Bhanu
2020-12-15 12:00:23 +00:00
committed by Manish Verma
parent 32409edb93
commit 7381486688
5 changed files with 11 additions and 10 deletions

View File

@@ -1106,7 +1106,7 @@ class ApiController extends Controller
return response()->json(compact('error'));
}
//$user = \JWTAuth::parseToken()->authenticate();
$result = $this->user->join('tickets', function ($join) use ($id) {
$result = $this->user->join('tickets', function ($join) {
$join->on('users.id', '=', 'tickets.assigned_to')
->where('status', '=', 1);
//->where('user_id', '=', $id);