From d53326e1348470641d82d5e5ec4be302f14c9f14 Mon Sep 17 00:00:00 2001 From: extreme4all <40169115+extreme4all@users.noreply.github.com> Date: Thu, 16 May 2024 21:06:41 +0200 Subject: [PATCH] Update report.py bug fix private -> public --- src/api/v1/report.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/v1/report.py b/src/api/v1/report.py index cbc7673..b83d54a 100644 --- a/src/api/v1/report.py +++ b/src/api/v1/report.py @@ -218,7 +218,7 @@ async def insert_active_reporter(reporter: str): async def insert_report_v2(detections: list[detection]): try: - url = 'http://private-api-svc.bd-prd.svc:5000/v2/report' + url = 'http://public-api-svc.bd-prd.svc:5000/v2/report' data = [d.dict() for d in detections] async with aiohttp.ClientSession() as session: async with session.post(url=url, json=data) as response: