Skip to content

Commit f636c7f

Browse files
committed
Fix url
1 parent 55d8561 commit f636c7f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

chromadb/api/async_fastapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -416,7 +416,7 @@ async def _search(
416416

417417
resp_json = await self._make_request(
418418
"post",
419-
f"/api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/search",
419+
f"/tenants/{tenant}/databases/{database}/collections/{collection_id}/search",
420420
json=payload,
421421
)
422422

chromadb/api/fastapi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ def _search(
373373

374374
resp_json = self._make_request(
375375
"post",
376-
f"/api/v2/tenants/{tenant}/databases/{database}/collections/{collection_id}/search",
376+
f"/tenants/{tenant}/databases/{database}/collections/{collection_id}/search",
377377
json=payload,
378378
)
379379

0 commit comments

Comments
 (0)