Skip to content

Commit

Permalink
less spam
Browse files Browse the repository at this point in the history
  • Loading branch information
extreme4all committed May 21, 2024
1 parent da1a256 commit 96ad9e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/v2/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ async def post_reports(detections: list[Detection]):
data = await report.parse_data(detections)
if not data:
raise HTTPException(status.HTTP_400_BAD_REQUEST, detail="invalid data")
logger.debug(f"Working: {len(data)}, {data[0]}")
logger.debug(f"Working: {len(data)}")
await report.send_to_kafka(data)
return Ok()

0 comments on commit 96ad9e7

Please sign in to comment.