Add logic to calculate league standings and hook up to league standings page

This commit is contained in:
2020-11-07 19:08:46 -06:00
parent 12ff8c680f
commit 2241779f5d
5 changed files with 96 additions and 81 deletions

File diff suppressed because one or more lines are too long

View File

@@ -3,6 +3,10 @@ class API {
this.base_url = APP_BASE_PATH.replace('/app/', '/api/v1/')
}
async get_standings() {
return this.get_request('league-standings')
}
async get_matchups() {
return this.get_request('matchups')
}