diff --git a/db_calls.py b/db_calls.py index 8dc93f5..0eea3ce 100644 --- a/db_calls.py +++ b/db_calls.py @@ -533,7 +533,7 @@ async def get_standings(season=None, team_abbrev=None, league_abbrev=None, divis req_url += f'{param_char(other_params)}division_abbrev={division_abbrev}' other_params = True - resp = await db_get(req_url) + return await db_get(req_url) async def post_standings_recalc(season): @@ -559,7 +559,7 @@ async def get_results(season, team_abbrev=None, week=None, away_abbrev=None, hom if home_abbrev: req_url += f'&home_abbrev={home_abbrev}' - resp = await db_get(req_url) + return await db_get(req_url) async def post_result(result):