Skip to content

Commit

Permalink
chore: /leaderboard/fetch_leaderboard > /leaderboard/
Browse files Browse the repository at this point in the history
  • Loading branch information
KreativeThinker committed Jan 9, 2024
1 parent 4fd8f6c commit eb8799e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pwncore/routes/leaderboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
router = APIRouter(prefix="/leaderboard", tags=["leaderboard"])


@router.get("/fetch_leaderboard")
@router.get("/")
async def fetch_leaderboard():
teams = await Team_Pydantic.from_queryset(Team.all())
# points = await SolvedProblem.filter(team=2).values("problem__points")
Expand Down

0 comments on commit eb8799e

Please sign in to comment.