Skip to content

Commit f101b3e

Browse files
committed
fix: restore bucket comment
1 parent b18ab1c commit f101b3e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎src/app/api/api_v1/endpoints/sequences.py‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ async def fetch_sequence_detections(
127127
if UserRole.ADMIN not in token_payload.scopes and token_payload.organization_id != camera.organization_id:
128128
raise HTTPException(status_code=status.HTTP_403_FORBIDDEN, detail="Access forbidden.")
129129

130+
# Get the bucket of the camera's organization
130131
bucket = s3_service.get_bucket(s3_service.resolve_bucket_name(camera.organization_id))
131132
return [
132133
DetectionWithUrl(

0 commit comments

Comments
 (0)