Skip to content

Commit

Permalink
Merge pull request #526 from Bot-detector/extreme4all-patch-1
Browse files Browse the repository at this point in the history
Update report.py
  • Loading branch information
extreme4all authored May 16, 2024
2 parents ca52887 + d53326e commit d4768b2
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 d4768b2

Please sign in to comment.