From 404b7194b050999154ff78435b754dd745c1563f Mon Sep 17 00:00:00 2001 From: gsd Date: Sun, 7 Jun 2026 21:40:07 +0300 Subject: [PATCH] f3 | ya dolbaeb --- other_ext/kamaz_ai.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/other_ext/kamaz_ai.py b/other_ext/kamaz_ai.py index e5e391b..e0e048a 100644 --- a/other_ext/kamaz_ai.py +++ b/other_ext/kamaz_ai.py @@ -209,7 +209,7 @@ class Extension: print("Sync report list") async with aiohttp.ClientSession(cookies={ "secretkey":os.getenv("BACKEND_SECRETKEY")}) as session: - async with session.post(f"{os.getenv('BACKEND_URL')}/api/discord/report/s", ssl = False) as response: + async with session.get(f"{os.getenv('BACKEND_URL')}/api/discord/report/s", ssl = False) as response: self.reports_list = await response.json() self.kamazai = KamazAI(self.reports_list) print("KamazAI Enabled") @@ -228,7 +228,7 @@ class Extension: async with aiohttp.ClientSession(cookies={ "secretkey":os.getenv("BACKEND_SECRETKEY")}) as session: - async with session.post(f"{os.getenv('BACKEND_URL')}/api/discord/report/{report_id}", ssl = False) as response: + async with session.get(f"{os.getenv('BACKEND_URL')}/api/discord/report/{report_id}", ssl = False) as response: report = await response.json() result = await self.kamazai.predict(report)