Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonyx committed Oct 16, 2024
1 parent 669b1c1 commit e52314e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/danswer/db/engine.py
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,6 @@ def get_session() -> Generator[Session, None, None]:

engine = get_sqlalchemy_engine()

tenant_id = current_tenant_id.get()
with Session(engine, expire_on_commit=False) as session:
if MULTI_TENANT:
if not is_valid_schema_name(tenant_id):
Expand Down

0 comments on commit e52314e

Please sign in to comment.