From b32d61bb5ebb6bcd2454621a1f0169e25cc79422 Mon Sep 17 00:00:00 2001 From: extreme4all <> Date: Thu, 25 Apr 2024 00:08:53 +0200 Subject: [PATCH] bug fix post prediction v missing --- api/cogs/requests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/cogs/requests.py b/api/cogs/requests.py index 9104d2e..b91fe93 100644 --- a/api/cogs/requests.py +++ b/api/cogs/requests.py @@ -131,7 +131,7 @@ async def get_prediction_data(player_id: int = 0, limit: int = 0): async def post_prediction(data: list[dict]): - url = f"{config.detector_api}/prediction" + url = f"{config.detector_api}/v1/prediction" params = {"token": config.token} while True: