Skip to content

Commit

Permalink
Merge pull request #15 from w3champions/alocate-patch-1
Browse files Browse the repository at this point in the history
Fix typo in function name
  • Loading branch information
alocate committed Feb 10, 2021
2 parents e8ab0fc + bc04d23 commit 60e3868
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async def update_mmr(body: UpdateMmrRequestBody) -> UpdateMmrResponseBody:


@app.post("/team/balance")
async def update_mmr(body: BalanceTeamRequestBody) -> BalanceTeamResponseBody:
async def balance_teams(body: BalanceTeamRequestBody) -> BalanceTeamResponseBody:
for i, rd in enumerate(body.rds_list):
if rd < 60.25:
body.rds_list[i] = 60.25
Expand Down

0 comments on commit 60e3868

Please sign in to comment.