Skip to content

Commit

Permalink
Update report.py
Browse files Browse the repository at this point in the history
bug fix private -> public
  • Loading branch information
extreme4all authored May 16, 2024
1 parent ca52887 commit d53326e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/v1/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d53326e

Please sign in to comment.