Constructor
new GenerateMatchupsForWeekPatch()
Example
P = require('./app/GenerateMatchupsForWeek.patch')
p = _di.make(P)
await p.run()
Extends
- Injectable
Methods
(async) get_teams_played_by_team(team) → {Promise.<Array.<string>>}
Get a list of all teams played by the given team.
Parameters:
Name | Type | Description |
---|---|---|
team |
Team |
Returns:
- Type
- Promise.<Array.<string>>
(async) run()
Run the patch.