diff --git a/app/routers_v2/scouting.py b/app/routers_v2/scouting.py index 0e51f87..2c44bba 100644 --- a/app/routers_v2/scouting.py +++ b/app/routers_v2/scouting.py @@ -36,14 +36,3 @@ async def get_player_keys(player_id: list = Query(default=None)): return_val = {"count": len(all_keys), "keys": [dict(x) for x in all_keys]} return return_val - - -@router.post("/live-update/pitching") -def live_update_pitching(files: BattingFiles, token: str = Depends(oauth2_scheme)): - if not valid_token(token): - logging.warning("Bad Token: [REDACTED]") - raise HTTPException( - status_code=401, detail="You are not authorized to initiate live updates." - ) - - return files.dict()