app/Http/Controllers/API/TeamController.php
public function getTeam(Request $request, $teamId)
    {
        return $this->teams->getTeam($request->user(), $teamId);
    }
public function getTeam(Request $request, $teamId)
    {
        return $this->teams->getTeam($request->user(), $teamId);
    }
Get the team for the given ID.

@param  \Illuminate\Http\Request  $request
@param  int  $teamId
@return \Illuminate\Http\Response