Closed neilfr closed 5 years ago
Included the Team model to the get "/api/players" and get "/api/players/:id" api routes. Updated the playerManager.js file to read the team name. The team name now appears. I.e.
Lupe Hillyer, Jersey:83, Team:The InnerCity Spinners
Included the Team model to the get "/api/players" and get "/api/players/:id" api routes.
Updated the playerManager.js file to read the team name.
The team name now appears. I.e.
Lupe Hillyer, Jersey:83, Team:The InnerCity Spinners