Skip to content

Commit

Permalink
k
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonyx committed Oct 27, 2024
1 parent 8175742 commit 88004ef
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion backend/ee/danswer/server/middleware/tenant_tracking.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ async def set_tenant_id(
raise HTTPException(
status_code=400, detail="Invalid tenant ID format"
)
print(payload)
if payload.get("impersonate") == "true":
ADMIN_USER_CONTEXTVAR.set(True)
except jwt.InvalidTokenError:
Expand Down

0 comments on commit 88004ef

Please sign in to comment.