Skip to content

Commit

Permalink
Update src/app/api/api_v1/endpoints/detections.py
Browse files Browse the repository at this point in the history
Co-authored-by: F-G Fernandez <[email protected]>
  • Loading branch information
RonanMorgan and frgfm authored Jan 9, 2025
1 parent 5435669 commit 9c94b06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/api/api_v1/endpoints/detections.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async def create_detection(
min_length=2,
max_length=settings.MAX_BBOX_STR_LENGTH,
),
azimuth: float = Form(..., gt=-1, lt=360, description="angle between north and direction in degrees"),
azimuth: float = Form(..., ge=0, lt=360, description="angle between north and direction in degrees"),
file: UploadFile = File(..., alias="file"),
detections: DetectionCRUD = Depends(get_detection_crud),
webhooks: WebhookCRUD = Depends(get_webhook_crud),
Expand Down

0 comments on commit 9c94b06

Please sign in to comment.