Teams
List all teams
const teams = await ft.teams.list();
// use teams.json() to access data
- Returns a
Promise
that resolves to anArray
ofFreshteam.models.Team
objects
Get team by ID
const team = await ft.teams.get(id);
// use team.json() to access data
- Returns a
Promise
that resolves to aFreshteam.models.Team
object