code: function(teamId, req) {
          const favoritesList = req.app.locals.favoritesList
          if(favoritesList.find(t => t.id == teamId)) {
              const err = new Error('Team already exists in favorites!')
              err.status = 409
              throw err
          }
          return footballDb
              .getTeam(teamId)
              .then(team => {
                  favoritesList.push(team)
                  return {
                      id: teamId,
                      name: team.name,
                      layout: false
                  }
              })
      }
docs: Binds to /favorites/favItem/:teamId
  @param teamId Route parameter with the id of selected team.