Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zomglings committed Nov 10, 2023
1 parent 560ccb6 commit 7295b9c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion engineapi/engineapi/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -1436,7 +1436,7 @@ def add_scores(
return leaderboard_scores


# leadrboard access actions
# leaderboard access actions


def create_leaderboard_resource(
Expand Down
4 changes: 2 additions & 2 deletions engineapi/engineapi/routes/leaderboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
)


leaderboad_whitelist = {
leaderboard_whitelist = {
f"/leaderboard/{DOCS_TARGET_PATH}": "GET",
"/leaderboard/openapi.json": "GET",
"/leaderboard/info": "GET",
Expand Down Expand Up @@ -76,7 +76,7 @@
)


app.add_middleware(ExtractBearerTokenMiddleware, whitelist=leaderboad_whitelist)
app.add_middleware(ExtractBearerTokenMiddleware, whitelist=leaderboard_whitelist)

app.add_middleware(
CORSMiddleware,
Expand Down

0 comments on commit 7295b9c

Please sign in to comment.