Skip to content

Commit

Permalink
use nane to get collection
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasgere committed Apr 22, 2024
1 parent 2960360 commit acc282c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chromadb/server/fastapi/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ def auth_and_get_tenant_and_database_for_request(
database = new_database

if (self._system.settings.chroma_overwrite_singleton_tenant_database_access_from_auth
and collection is not None):
and collection is not None and action != AuthzAction.CREATE_COLLECTION and action != AuthzAction.GET_OR_CREATE_COLLECTION):
collec = self._api.get_collection(
name=collection
)
Expand Down

0 comments on commit acc282c

Please sign in to comment.