chore: remove unused stuff

This commit is contained in:
2025-03-11 15:43:36 +01:00
parent 34c030c1e9
commit 2a396457aa
7 changed files with 84 additions and 55 deletions

View File

@@ -80,7 +80,7 @@ team_router.add_api_route("/list", endpoint=list_teams, methods=["GET"])
team_router.add_api_route("/add", endpoint=add_team, methods=["POST"])
@api_router.post("/mvps")
@api_router.post("/mvps", dependencies=[Depends(get_current_active_user)])
def submit_mvps(mvps: MVPRanking):
with Session(engine) as session:
session.add(mvps)
@@ -88,7 +88,7 @@ def submit_mvps(mvps: MVPRanking):
return JSONResponse("success!")
@api_router.post("/chemistry")
@api_router.post("/chemistry", dependencies=[Depends(get_current_active_user)])
def submit_chemistry(chemistry: Chemistry):
with Session(engine) as session:
session.add(chemistry)